Skip to content

alexgrozav/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@grozav/eslint-preset

  • Typescript ready
  • Extends standard
  • Single quotes, semi
  • Sensible defaults, best practices
  • One-line of config

Usage

  1. Install dependencies.
    npm i -DE eslint @grozav/eslint-preset
  2. Create a new .eslintrc.js file and add the following:
    module.exports = {
        extends: '@grozav'
    }
  3. Add linting script to package.json:
    "lint": "eslint --ext .vue,.ts,.tsx,.js,.jsx src",

License

ISC