1.0.0 • Published 5 years ago
eslint-config-smaller-react-modules-alternatives v1.0.0
ESLint-config-smaller-react-modules-alternative
React smaller modules alternative recommendation specific linting rules for ESLint only based on bundle size. ⚠️ Be aware that some alternatives are not as feature rich as others but in many cases are good or equivalent alternatives to larger modules ⚠️
There are other aspects like runtime performance which are not necessary are taken into account.
Installation
Install ESLint either locally or globally.
$ npm install eslint --save-dev
or
$ yarn eslint --dev
If you installed ESLint
globally, you have to install React plugin globally too. Otherwise, install it locally.
$ npm eslint-config-smaller-react-modules-alternative --save-dev
or
$ yarn eslint-config-smaller-react-modules-alternative --dev
Configuration
Use it
"extends": [
"eslint-config-smaller-react-module-alternatives",
]
See ESLint documentation for more information about extending configuration files.
License
ESLint-config-smaller-react-modules-alternative is licensed under the MIT License.
1.0.0
5 years ago