@ncko/eslint-config
v1.0.2
Published
ESLint config by Nick Olsen (ncko)
Downloads
2
Readme
@ncko/eslint-config
Usage
Install @ncko/eslint-config along with eslint:
yarn add -D eslint @ncko/eslint-configIn a .eslintrc file at the root of your project:
{
"extends": ["@ncko/eslint-config"]
}There are also configs for typescript and react. Each have peer dependencies that must also be installed.
Typescript
Install the typescript config's peer dependencies:
yarn add -D typescript @typescript-eslint/eslint-pluginIn your .eslintrc file:
{
"extends": ["@ncko/eslint-config", "@ncko/eslint-config/typescript"]
}React
Install the react config's peer dependencies:
yarn add -D eslint-plugin-jsx-a11y eslint-plugin-reactIn your .eslintrc file:
{
"extends": ["@ncko/eslint-config", "@ncko/eslint-config/react"]
}