eslint-config-mitmaro
This package provides MitMaro's .eslintrc
as an extensible shared config.
Usage
There are two ESLint configurations for your usage.
eslint-config-mitmaro
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-plugin-strict-newline
.
npm install --save-dev eslint-config-mitmaro eslint-plugin-strict-newline eslint
- add
"extends": "mitmaro"
to your .eslintrc
eslint-config-mitmaro/mocha
An extension of eslint-config-mitmaro
that adds support for mocha.
npm install --save-dev eslint-config-mitmaro eslint-plugin-strict-newline eslint
- add
"extends": "mitmaro/mocha"
to your .eslintrc
Contributing
Add new rule definitions under the files located in rules
ensuring to keep the rule correctly categorized and in the
same order as defined on the ESLint rules page.
This project self-lints and ensure that all file paths are correct. You can run these checks with the npm run test
command.
License
This project is released under the ISC license. See LICENSE.