7.4.1 • Published 6 years ago
eslint-config-hubspot v7.4.1
eslint-config-hubspot
HubSpot's ESLint configurations
Install
// npm
$ npm install --save-dev eslint eslint-config-hubspot eslint-plugin-react
// yarn
$ yarn add eslint eslint-config-hubspot eslint-plugin-react --dev
For the esnext
version or if you are using newer syntax, you'll also need Babel's ESLint parser:
//npm
$ npm install --save-dev babel-eslint
// yarn
$ yarn add babel-eslint --dev
This will let you use ES2016 features like async
/await
and decorators. For a full list of features see Babel's experimental features and their Learn ES2015.
Usage
Add ESLint configurations to your package.json
:
{
"eslintConfig": {
"extends": "hubspot" // or "hubspot/esnext"
}
}
Or .eslintrc*
:
{
"extends": "hubspot" // or "hubspot/esnext"
}
License
MIT © HubSpot
7.4.1
6 years ago
7.4.0
6 years ago
7.3.1
7 years ago
7.3.0
7 years ago
7.2.0
7 years ago
7.1.0
7 years ago
7.0.1
7 years ago
7.0.0
7 years ago
6.2.0
8 years ago
6.1.0
8 years ago
6.0.1
8 years ago
6.0.0
8 years ago
5.2.0
8 years ago
5.1.0
8 years ago
5.0.0
8 years ago
4.0.2
8 years ago
4.0.1
8 years ago
4.0.0
8 years ago
3.1.0
8 years ago
3.0.2
8 years ago
3.0.1
8 years ago
3.0.0
8 years ago
2.1.3
8 years ago
2.1.2
8 years ago
2.1.1
8 years ago
2.1.0
8 years ago
2.0.0
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago