eslint-config-snowl
v1.0.6
Published
Straight fwd EsLint & Prettier config to get you started
Maintainers
Readme
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.jsonfile, 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
.eslintrcfile in the root of your project. Your.eslintrcfile 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"
},