Skip to content

matthizou/eslint-plugin-tests

Repository files navigation

eslint-plugin-tests 🐒


Contributing

Available Rules

Name Category Description
🌟 descriptions-in-tests Generic (test files) Basic validation of tests' descriptions

Configuration

In eslint config

  plugins: ['eslint-plugin-tests'],
  overrides: [ // Only activated for test files
    {
      files: ['*.test.*', '*.spec.*'],
      rules: {
        'tests/descriptions-in-tests': ['warn', { noVagueVerbs: true }],
      },
    },
  ],

About

A set of ESLint rules to use in your Jest tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published