@alkafinance/eslint-config-react
v1.3.2
Published
Alka ESLint config for our React/React Native apps
Downloads
48
Maintainers
Readme
@alkafinance/eslint-config-react
Alka ESLint config for our React/React Native apps.
Usage
This config relies dangerously on npm@3/yarn flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:
$ yarn add eslint prettier @alkafinance/eslint-config @alkafinance/eslint-config-react --dev
# or
$ npm install eslint prettier @alkafinance/eslint-config @alkafinance/eslint-config-react --save-dev
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: ['@alkafinance/eslint-config', '@alkafinance/eslint-config-react/web' /* or '@alkafinance/eslint-config-react/native' */],
rules: {
// your overrides
},
};
License
MIT License © Alka, Inc