1.0.1 • Published 5 years ago
eslint-config-jimmontour v1.0.1
Eslint and Prettier Config
These are my settings for ESLint and Prettier. Feel free to fork for your setup and tweak to your liking.
- Lints JavaScript based on the latest standards
- Fixes issues and formatting errors with Prettier
- Lints + Fixes inside of html script tags
- Lints + Fixes React via eslint-config-airbnb
Install
If you don't already have a
package.jsonfile, create one withnpm init.Install everything needed:
npx install-peerdeps --dev eslint-config-jimmontour- Create a
.eslintrcfile in the root of your project's directory (it should live where package.json does). Your.eslintrcfile should look like this:
{
"extends": [
"jimmontour"
]
}