Shiny code with this ESLint and Prettier config.
My sharable settings for Eslint and Prettier, based on the amazing work done by Wes Bos.
npm install eslint-config-shiny-code
"eslintConfig": {
"extends": ["shiny-code"]
},
"scripts": {
"lint": "eslint .",
"fix": "eslint . --fix"
},
If you want to override or extend any rules, add the rules: {}
beneath the extends in your Eslint config.
{}
object."extends": ["shiny-code/react"]
"extends": ["shiny-code/react-nextjs"]
"extends": ["shiny-code/react-native"]