Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverjam/minimal-eslint
https://github.com/oliverjam/minimal-eslint
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverjam/minimal-eslint
- Owner: oliverjam
- Created: 2019-04-10T15:16:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T21:18:48.000Z (over 5 years ago)
- Last Synced: 2024-11-14T19:14:52.525Z (5 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal ESLint Config Generator
Generates the most minimal ESLint config possible. Useful when you just want to catch some errors, but allows you to add rules later.
Run `npx minimal-eslint` in your directory to create an `.eslintrc` file containing:
```json
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"extends": "eslint:recommended",
"rules": {
"no-console": "warn"
}
}
```