0.2.0 • Published 7 months ago

eslint-plugin-icedfrisby v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

eslint-plugin-icedfrisby

Build version license

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.

NameDescriptionšŸ’¼āš ļø
no-exclusive-testsDisallow exclusive testsāœ…
no-skipped-testsDisallow skipped testsāœ