eslint-config-finn-prettier

3.0.2 • Public • Published

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

/eslint-config-finn-prettier/

    Package Sidebar

    Install

    npm i eslint-config-finn-prettier

    Weekly Downloads

    19

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    2.71 kB

    Total Files

    7

    Last publish

    Collaborators

    • cmtegner
    • simenb