Eslint config for Gnoll
Last updated 7 days ago by sunflowerdeath .
Unlicense · Original npm · Tarball
$ cnpm install eslint-config-gnoll 
SYNC missed versions from official npm registry.


Config based on eslint-config-airbnb with addition of eslint-config-prettier, which removes all rules related to formatting and replaces them with rule that gives error when source code doesn't match autoformatted output from the Prettier.


npm install eslint-config-gnoll
# peer dependencies
npm install \
    eslint babel-eslint eslint-config-airbnb eslint-config-prettier \
    eslint-import-resolver-webpack eslint-plugin-import \
    eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react

Then create .eslintrc.js:

module.exports = {
    extends: ['gnoll']

If you want to change Prettier settings, create .prettierrc file (JSON format) or prettier.config.js (JS module).

Maintainers (1)
Today 0
This Week 0
This Month 48
Last Day 0
Last Week 17
Last Month 5
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2017 © |