2.9.10 • Published 7 years ago

@highereducation/eslint-config v2.9.10

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

eslint-config npm version

This package provides HigherEducation.com's .eslintrc as an extensible shared config. Based on and extends from Airbnb's ESLint config.

@highereducation/eslint-config

Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y.

Install

$ npm i -D @highereducation/eslint-config eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint

Usage

Add to your eslint configuration (here, in .eslintrc)

{
  "extends": "@highereducation/eslint-config"
}

Or package.json like this:

{
  "eslintConfig": {
    "extends": "@highereducation/eslint-config"
  }
}

ES6 and Babel

If you're using stage-0, stage-1, or stage-2 Babel features, you may need to use babel-eslint as the parser (https://github.com/babel/babel-eslint).

Just run npm i -D babel-eslint to install and then add the following to your .eslintrc config:

"parser": "babel-eslint"
2.9.10

7 years ago

2.9.9

8 years ago

2.9.8

8 years ago

2.9.7

8 years ago

2.9.6

8 years ago

2.9.5

8 years ago

2.9.4

8 years ago

2.9.3

8 years ago

2.9.2

8 years ago

2.9.1

8 years ago

2.9.0

8 years ago

2.8.0

8 years ago

2.7.0

8 years ago

2.6.1

8 years ago

2.6.0

8 years ago

2.5.3

8 years ago

2.5.2

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago