ESLint config for FINN.no


Keywords
coding-standard, standards, eslint, eslintconfig, lint, style
License
MIT
Install
npm install eslint-config-finn@3.0.1

Documentation

eslint-config-finn Build Status

ESLint config for @Finn-no

How to use it

First, install the npm package:

npm install --save-dev eslint-config-finn

Then add the extends option to your .eslintrc:

{
    "extends": "finn"
}

See rules.md for descriptions and config of the rules.

You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.

Prettier

If you want to use Prettier, install eslint-config-finn-prettier as well. See its readme for configuration.

React

If you use React, install eslint-config-finn-react as well.

Publishing

$ git pull
$ yarn lerna publish