Skip to content

anaLabecaDev/eslint-config-anafrost01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint (and Prettier) config

These are settings for ESLint and Prettier used by me in my projects.

What it does

This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-anafrost01 # or yarn install --dev eslint-config-anafrost01
npx install-peerdeps --dev eslint-config-anafrost01
  1. Add the following to package.json:
{
  "eslintConfig": {
    "extends": [
      "eslint-config-anafrost01"
    ]
  }
}

Or, touch .eslintrc file and add:

{
  "extends": [
    "eslint-config-anafrost01"
  ]
}

About

Lint rules package for my projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published