3.0.1 • Published 6 years ago

eslint-plugin-behance v3.0.1

Weekly downloads
6
License
MIT
Repository
-
Last release
6 years ago

eslint-plugin-behance

Custom rules! Yeah!

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-behance:

$ npm install eslint-plugin-behance --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-behance globally.

Usage

Add behance to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "behance"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "behance/rule-name": 2
    }
}

Rules

  • no-jasmine-arrow: Disallows arrow functions as arguments to Jasmine test functions (describe, it, beforeEach, beforeAll, afterEach, afterAll).
  • header-comment: Requires that the given text is included as a header block comment at the top of the file.
3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.2.0

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago