eslint-config-mc
v0.6.5
Published
eslint config based on Airbnb's style, with support for an all warning config
Downloads
16
Maintainers
Readme
eslint-config-mc
Based on eslint-airbnb-config. Provides a statically built eslint config file in the dist
dir.
Installing
# Recommended dependencies
npm install --save-dev eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint
# Optional dependencies
npm install --save-dev eslint-plugin-ava
npm install --save-dev eslint-plugin-mocha
# Install
npm install --save-dev eslint-config-mc
Usage
Configs
eslint-config-mc
- The default config, raises errors for violations.eslint-config-mc/warning
- The default config, but will raise warnings instead of errors.eslint-config-mc/es5
- Linting for es5 only, raises errors.eslint-config-mc/es5-warning
- Linting for es5 only, raises warnings.eslint-config-mc/ava
- Ava config, raises errors.eslint-config-mc/mocha
- Mocha config, raises warnings.
Edit your .eslintrc.*
and extend from the appropriate config.
Example:
// .eslintrc.json
{
"extends": "eslint-config-mc"
}
Development
git clone [email protected]:mikechau/eslint-config-mc.git
cd eslint-config-mc && npm install
Testing
npm test
LICENSE
MIT