1.0.2 • Published 3 years ago

eslint-config-sxnaprkhr v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

ESLint and Prettier config

These are my configuration files for ESLint and Prettier

Local/Project Install

  1. Create a package.json file.

  2. Install devDependencies using:

npx install-peerdeps --dev eslint-config-sxnaprkhr
  1. Create a .eslintrc file in the root of your project's directory.
{
  "extends":[
    "sxnaprkhr"
  ]
}
  1. Optional: Add these two scripts to your package.json to lint/fix using Terminal:
{
  "scripts":{
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}