3.0.2 • Published 6 years ago

eslint-config-finn-prettier v3.0.2

Weekly downloads
78
License
MIT
Repository
github
Last release
6 years ago

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