minimal-eslint

1.0.0 • Public • Published

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:

{
  "env": {
    "browser": true,
    "commonjs": true,
    "es6": true,
    "node": true
  },
  "parserOptions": {
    "ecmaVersion": 2017
  },
  "extends": "eslint:recommended",
  "rules": {
    "no-console": "warn"
  }
}

It will warn you if you don't have the eslint package installed as a (dev)dependency.

Readme

Keywords

Package Sidebar

Install

npm i minimal-eslint

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.25 kB

Total Files

3

Last publish

Collaborators

  • oliverjam