2.3.0 • Published 4 years ago

eslint-config-arcadia v2.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

eslint-config-arcadia

Arcadia's ESLint config, following our code conventions

npm version CircleCI

Usage

To install with all necessary peerDependencies, use install-peerdeps:

npx install-peerdeps --dev eslint-config-arcadia

All exported configs should be added to your ESlint configuration file extends. For example, in a JSON .eslintrc:

{
  "extends": "arcadia"
}

"extends": "arcadia"

Lint all the things, including ECMAScript 6+, React, and Prettier.

prettier Editor Plugin Integration

Unfortunately, super-useful editor plugins like prettier-atom and prettier-vscode do not load Prettier settings from ESLint config, which is where we load our Prettier options from. To workaround this, add a .prettierrc.js or prettier.config.js file to your root with the following content:

module.exports = require('prettier-config-arcadia');

Related

2.3.0

4 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago