eslint-config-ugoromi
v1.0.13
Published
My personal eslint configuration
Downloads
17
Readme
To Install:
set:
"eslintConfig": {
"extends": [
"ugoromi"
]
},
in your package.json
then run
npx install-peerdeps --dev eslint-config-ugoromi
Sub configs:
There are specific configs for many types of projects, and more will be added in the future
To use a specific config you just to extend ugoromi/configName
instead of ugoromi
ex. for React set
"eslintConfig": {
"extends": [
"ugoromi/react"
]
},
At the moment the following configs are available:
- node
- react
- typescript
Prettier
You can also add a .prettierrc
file with whatever rules you want in the root of your project and eslint will incorporate it in the linting process
This is my .prettierrc file
Credits:
eslint-config-wesbos for the idea and reference This freecodecamp article by Leonardo Faria and The official docs for instructions on how to make this