Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexgrozav/eslint-config
- Owner: alexgrozav
- License: other
- Created: 2022-04-15T05:55:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T16:19:44.000Z (8 months ago)
- Last Synced: 2024-05-01T15:31:25.307Z (6 months ago)
- Topics: eslint, eslint-config, eslint-preset
- Language: JavaScript
- Homepage:
- Size: 1.13 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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