3.2.6 • Published 12 months ago

@fiverr/eslint-config-fiverr v3.2.6

Weekly downloads
2,286
License
MIT
Repository
github
Last release
12 months ago

eslint-config-fiverr

ESLint configuration & ruleset for Javascript (ES6) + React.

Installation

In order to add eslint-config-fiverr to a repository, use npm to add it to the development dependencies.

npm i --save-dev eslint-plugin-react @fiverr/eslint-config-fiverr

Configuration

Add a .eslintrc file in the main directory of your repository, in which you define the usage of eslint-config-fiverr as well as repository specific configuration & rules.

This is the basic structure:

{
    "extends": "@fiverr/fiverr",
    "globals": {},
    "rules": {}
}
  • globals - add any global variable that is used in your repository. Example: "React": true
  • rules - add any rule you need in addition to eslint-config-fiverr, or if you want to override some of it's rules.

IDE integration

Configuring your IDE to use ESLint is fairly easy:

RubyMine
  1. Open settings by clicking cmd + ,
  2. Languages & Frameworks > Javascript > Code Quality Tools > ESLint
  3. Check the 'Enable' checkbox
  4. Under 'Node Interpeter' type the path to the NodeJS executable file (rubymine usually auto-detects it)
  5. Under 'Configuration File' check the option 'Search for .eslitrc'.
  6. Click OK
Sublime

You can use either of these plugins:

  1. SublimeLinter-eslint

  2. Build Next

Atom

linter-eslint

3.2.7-rc-3e87537

12 months ago

3.2.7-rc-42ae048

3 years ago

3.2.7-rc-73ef96e

3 years ago

3.2.7-rc-cf65fae

3 years ago

3.2.7-rc-12c5c35

3 years ago

3.2.7-rc-4fab85d

3 years ago

3.2.7-rc-ed2fa87

3 years ago

3.2.7-rc-10b9154

3 years ago

3.3.0-rc-56e1c0c

3 years ago

3.3.0-rc-b31e869

3 years ago

3.2.6

3 years ago

3.2.6-rc-60f0f08

3 years ago

3.2.5

4 years ago

3.2.5-rc-8a75af2

4 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.1.0-rc-48e42d6

6 years ago

3.1.0-rc-ea17e31

6 years ago

3.1.0-rc-6f88c91

6 years ago

3.1.0-rc-b94ae55

6 years ago

3.1.0-rc-4036652

6 years ago

3.0.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago