0.0.2 ā€¢ Published 9 months ago

eslint-plugin-testing v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

eslint-plugin-testing

npm ci

ESLint plugin for testing.

Installation

  1. First, install ESLint:

    npm install --save-dev eslint
  2. Next, install eslint-plugin-testing:

    npm install --save-dev eslint-plugin-testing

Usage

Add testing to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["testing"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "testing/aaa-comments": "error"
  }
}

Recommended

To use the recommended configuration, extend it in your .eslintrc file:

{
  "extends": ["plugin:testing/recommended"]
}

All recommend rules will be set to error by default. You can however disable some rules by setting turning them off in your .eslintrc file or by setting them to warn in your .eslintrc.

All

To use the all configuration, extend it in your .eslintrc file:

{
  "extends": ["plugin:testing/all"]
}

Rules

šŸ’¼ Configurations enabled in.\ āš ļø Configurations set to warn in.\ šŸŒ Set in the all configuration.\ āœ… Set in the recommended configuration.

NameDescriptionšŸ’¼āš ļø
aaa-commentsEnforce AAA commentsāœ…šŸŒ

Licence

MIT

Copyright Ā© 2023-present, Matan Yadaev