This project is forked from @dooboo/eslint-config
These packages include internal eslint config/plugins with dependencies
not peerDependencies
.
So user can just declare their eslintrc.js
like that.
extends: ['@mj-studio/eslint-config-(node|react|react-native)']
On the other hand, User should install eslint
, prettier
, typescript
in their devDependencies
.
- TypeScript
- Prettier
- Import Sort/Assertion
- React(only in
react
/react-native
) - Useful Rules
depends on Node config
depends on React config
{
"trailingComma": "all",
"arrowParens": "always",
"singleQuote": true,
"jsxSingleQuote": false,
"printWidth": 100,
"quoteProps": "consistent",
"tabWidth": 2
}