0.0.7 • Published 6 years ago

eslint-config-jbunton v0.0.7

Weekly downloads
347
License
Apache-2.0
Repository
bitbucket
Last release
6 years ago

eslint-config-jbunton

Overview

This is a set of rules I've collected for two purposes:

  • correctness -- if you're violating these rules then either your code is wrong, or you're increasing the chance of a misunderstanding or a bug being introduced in the future.
  • style -- arbitrary preferences which make for standard-looking code.

Usage

In your package JSON you should add a script to run the linter. Also add this to your CI.

"scripts": {
  "test:lint": "eslint lib test --fix"
}

At the root of your project create /.eslintrc

{
    "env": {
        "es6": true,
        "node": true
    },
    "rules": {
    },
    "parserOptions": {
        "ecmaVersion": "2018"
    },
    "extends": [
        "eslint:recommended",
        "jbunton/recommended"
    ]
}
0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago