1.0.1 • Published 3 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.json
file, create one withnpm init
.Install everything needed:
npx install-peerdeps --dev eslint-config-jimmontour
- Create a
.eslintrc
file in the root of your project's directory (it should live where package.json does). Your.eslintrc
file should look like this:
{
"extends": [
"jimmontour"
]
}