1.2.0 • Published 9 months ago

eslint-config-rockstein v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

ESLint Config

Package aims to setup your eslint and prettier configs for your react project.

What it does?

It simply extends ESLint and Prettier with rules used at Rockstein. Check the .eslintrc.js file to see what is included. If you are using prettier you can copy config file as well.

Installing

  1. In your project folder, run:
yarn add --dev eslint-config-rockstein

# please also install peerDependecy:
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/eslint-plugin-tslint @typescript-eslint/parser eslint eslint-plugin-functional eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-jsx-a11y eslint-plugin-nested-if eslint-plugin-no-else eslint-plugin-no-loops eslint-plugin-prefer-arrow eslint-plugin-react eslint-plugin-react-hooks
  1. Create (or update) a .eslintrc file with the following content:
{
  "extends": ["rockstein"]
}
1.2.0

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago