React, React Hooks, React Native, TypeScript, NodeJS and NextJS specific linting rules for ESLint.
Our default export contains all of our ESLint rules, including ECMAScript 6+ React, React Hooks, React Native, TypeScript, NodeJS and NextJS support.
Install eslint-config-webstrong
npm install --save-dev eslint-config-webstrong
Install requires packages:
npx install-peerdeps --dev eslint-config-webstrong
We export five ESLint configurations for your usage dependent on your technology.
Basic rules for React
"extends": ["webstrong"]
Rules for React Hooks
"extends": ["webstrong/hooks"]
Rules for React Native
"extends": ["webstrong/native"]
Rules for TypeScript
"extends": ["webstrong/typescript"]
Rules for NodeJS
"extends": ["webstrong/node"]
Rules for NextJS
"extends": ["webstrong/next"]
Also, you can connect few rules e.g.
"extends": ["webstrong/typescript", "webstrong"]
Web: https://webstrong.pl
GitHub: https://github.com/webstrongteam