@brettz9/eslint-plugin

Additional ESLint rules.

Usage no npm install needed!

<script type="module">
  import brettz9EslintPlugin from 'https://cdn.skypack.dev/@brettz9/eslint-plugin';
</script>

README

@brettz9/eslint-plugin

npm version Downloads/month Build Status Dependency Status

Additional ESLint rules and ESLint configurations. A fork of @mysticatea/eslint-plugin which extracts the rules without all of the config.

💿 Installation

npm install --save-dev eslint @brettz9/eslint-plugin

📖 Usage

Add to your ESLint configuration: https://eslint.org/docs/user-guide/configuring#using-the-configuration-from-a-plugin

Configs

  • plugin:@brettz9/es5 - Contains configuration of the project's rules suitable for ES5 (disabling arrow functions, etc.).
  • plugin:@brettz9/es6 - Contains configuration suitable for ES2015 and above. For setting ES6+ globals, you will need to set env accordingly.
  • plugin:@brettz9/es2015 - Alias for es6 config.

Rules

🚥 Semantic Versioning Policy

This plugin follows semantic versioning and ESLint's Semantic Versioning Policy.

📰 Changelog

❤️ Contributing

Contributons are welcome!

Please use GitHub's Issues/PRs.

Development Tools

  • npm test runs tests and measures coverage.
  • npm run clean removes the coverage result of npm test command.
  • npm run coverage shows the coverage result of npm test command.
  • npm run update updates auto-generated files.
  • npm run watch runs tests and measures coverage when source code are changed.