Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexgrozav/eslint-config

Alex Grozav's ESLint configuration preset
https://github.com/alexgrozav/eslint-config

eslint eslint-config eslint-preset

Last synced: 24 days ago
JSON representation

Alex Grozav's ESLint configuration preset

Awesome Lists containing this project

README

        

# @grozav/eslint-preset

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

## Usage

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

## License
ISC