Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/oliverjam/minimal-eslint


https://github.com/oliverjam/minimal-eslint

Last synced: about 6 hours ago
JSON representation

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"
}
}
```