@monymony/eslint-config
v0.5.5
Published
- Remove your prettier config or set as [Prettier config](./.prettierrc.js). - Install this package. `yarn add -D @monymony/eslint-config`
Downloads
1,439
Readme
Do not use it. Not finished yet.
Install
Remove your prettier config or set as Prettier config.
Install this package.
yarn add -D @monymony/eslint-config
Set your eslint config.
"extends": [
...,
"@monymony/eslint-config", // should be set.
"@monymony/eslint-config/backend" // optional for environment.
]
Examples.
React
"extends": [
"react-app",
"react-app/jest",
"@monymony/eslint-config",
"@monymony/eslint-config/react"
]
Backend
"extends": [
...,
"@monymony/eslint-config",
"@monymony/eslint-config/backend"
]
React Native
"extends": [
"react-app",
"react-app/jest",
"@monymony/eslint-config",
"@monymony/eslint-config/react-native"
]
Local Test
- Plugin root:
yarn link
- In the example project:
yarn link @monymony/eslint-config
- Run
yarn lint
Refer
Multiple configs: https://github.com/AlloyTeam/eslint-config-alloy