npm.io
3.0.2 • Published 8 years ago

eslint-config-finn-prettier

Licence
MIT
Version
3.0.2
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
2

eslint-config-prettier Build Status

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

Keywords