1.0.6 • Published 3 years ago
eslint-config-snowl v1.0.6
Snowl Eslint & Prettier Setup
Plain and simple code quality config
- Lint JavaScript based on latest standards
- Fix issues and formatting errors
- Lint & Fix issues within html
<script>
tags
✨Quick Start
If you don't already have a
package.json
file, create one withnpm init
.Install everything needed by the config:
npx install-peerdeps --dev eslint-config-snowl
⚙️ Setting up
- Your package.json should have all the dependencies needed to run the script
- Create a
.eslintrc
file in the root of your project. Your.eslintrc
file should look like this:
{
"extends": [
"snowl"
]
}
🏃🏻♂️Runnning the script
Add two scripts to your package.json to lint and/or fix:
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},