ESLint rules for IcedFrisby.
npm i --save-dev eslint eslint-plugin-icedfrisby
As of eslint-plugin-icedfrisby 0.2.0 this plugin is compatible with ESLint>=8.21.0 only and must be configured using flat config format.
Example .eslint.config.js
file:
const icedfrisby = require("eslint-plugin-icedfrisby");
module.exports = [
// This plugin exports a recommended config
icedfrisby.configs.recommended,
{
// Add icedfrisby to the plugins declaration
plugins: {
icedfrisby,
},
// Optionally customise or configure rules
rules: {
"icedfrisby/no-skipped-tests": ["error"]
},
},
];
💼 Configurations enabled in.
✅ Set in the recommended
configuration.
Name | Description | 💼 | |
---|---|---|---|
no-exclusive-tests | Disallow exclusive tests | ✅ | |
no-skipped-tests | Disallow skipped tests | ✅ |