eslint-config-finn-prettier
v3.0.2
Published
ESLint prettier config for FINN.no
Downloads
796
Readme
eslint-config-prettier
ESLint prettier config for @Finn-no
How to use it
First, install the npm package:
npm install --save-dev eslint-config-finn-prettier
Then add the extends
option to your .eslintrc
:
{
"extends": "finn-prettier"
}
This overrides all style rules defined above it, and uses { tabWidth: 4, singleQuote: true, trailingComma: 'es5' }
as options.
You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.
React
If you use React, do "extends": "finn-prettier/react"
instead to work with eslint-plugin-react
.
Publishing
$ npm version <patch | minor | major>
$ git push --follow-tags origin master
$ npm publish