1.0.5 • Published 3 months ago

eslint-config-node-moar v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

A strict and complete ESLint configuration

License Version Build Status Known Vulnerabilities

An ESLint Shareable Config that includes this plugins and enforces reccomended:

  extends: [
    'eslint:recommended',
    'plugin:node/recommended',
    'plugin:promise/recommended',
    'plugin:security/recommended',
    'plugin:sonarjs/recommended',
  ],

And then defines:

  • a quite strict and opinionated rule set
  • formatting rules - no need for prettier
  • errors as errors, and warnings as warnings.
    • As in: if it does break it, it's an error. If it's a convention, it's a warning.

Why -moar? Because -strict was already taken and -more is boring.

Basic usage

Install all the dependencies:

yarn add -D eslint eslint-config-node-moar eslint-plugin-node eslint-plugin-security eslint-plugin-sonarjs

Create your own .eslintrc.js:

module.exports = {
  extends: [
    'node-moar',
  ],
}

Or use this one-liner:

echo "extends: ['node-moar']" > .eslintrc.yml

Get... moar :)

Part of the family are:

  • test - with linters for Jest
  • stricter - stricter lint rules enforced using more plugins
1.0.5

3 months ago

1.0.4

3 months ago

0.12.2

3 months ago

0.12.1

5 months ago

0.11.0

7 months ago

0.10.0

9 months ago

0.9.3

12 months ago

0.9.0

1 year ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago