2.2.0 • Published 8 years ago

eslint-config-blacksun1 v2.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

eslint-config-blacksun1

build status Dependencies

blacksun1 shareable eslint configuration

How to use

First add the module to your package.json and install it.

npm install eslint-config-blacksun1 --save-dev

then setup your .eslintrc file so that eslint knows to use them. Here is an example script.

{
  "env": {
    "es6": true,
    "node": true
  },
  "parserOptions": {
    "sourceType": "module"
  },
  "extends": "blacksun1"
}

You can always override rules by adding a rule override such as the following:

{
  "env": {
    "es6": true,
    "node": true
  },
  "parserOptions": {
    "sourceType": "module"
  },
  "rules": {
    "indent": [
      "error",
      4
    ]
  },
  "extends": "blacksun1"
}

which overrides the 2 character spacing with 4 character spacing.

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago