2.9.10 • Published 9 years ago

@highereducation/eslint-config v2.9.10

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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

9 years ago

2.9.9

9 years ago

2.9.8

9 years ago

2.9.7

9 years ago

2.9.6

9 years ago

2.9.5

10 years ago

2.9.4

10 years ago

2.9.3

10 years ago

2.9.2

10 years ago

2.9.1

10 years ago

2.9.0

10 years ago

2.8.0

10 years ago

2.7.0

10 years ago

2.6.1

10 years ago

2.6.0

10 years ago

2.5.3

10 years ago

2.5.2

10 years ago

2.5.1

10 years ago

2.5.0

10 years ago

2.4.0

10 years ago

2.3.0

10 years ago

2.2.0

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago