https://github.com/doodzik/eslint-config
https://github.com/doodzik/eslint-config
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doodzik/eslint-config
- Owner: doodzik
- License: mit
- Created: 2017-10-24T22:24:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T22:44:03.000Z (over 8 years ago)
- Last Synced: 2025-03-29T04:43:18.528Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config
This repo contains my eslint configuration files
# installation
```
npm install doodzik/eslint-config --save-dev
```
# usage
add the following to the script section of your `package.json`
```
{
...
"scripts": {
...
"lint": "eslint . --fix --ignore-path .gitignore -c ./node_modules/eslint-config/.eslintrc.js ",
"lint-prod": "eslint . --fix --ignore-path .gitignore -c ./node_modules/eslint-config/.eslintrc.production.js ",
...
}
...
}
```