0.2.0 ⢠Published 7 months ago
eslint-plugin-icedfrisby v0.2.0
eslint-plugin-icedfrisby
ESLint rules for IcedFrisby.
Installation
npm i --save-dev eslint eslint-plugin-icedfrisby
Usage
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"]
},
},
];
Rules
š¼ Configurations enabled in.\
ā ļø Configurations set to warn in.\
ā
Set in the recommended
configuration.
Name | Description | š¼ | ā ļø |
---|---|---|---|
no-exclusive-tests | Disallow exclusive tests | ā | |
no-skipped-tests | Disallow skipped tests | ā |