8.2.0 • Published 2 days ago
@krakenjs/eslint-config-grumbler v8.2.0
@krakenjs/eslint-config-grumbler
This package assumes you are already using Prettier.
Installation
npm install -D @krakenjs/eslint-config-grumbler
Config Files
eslintrc-browser
- browser-based rules + FlowTypeeslintrc-typescript-browser
- browser-based rules + TypeScripteslintrc-typescript
- TypeScript ruleseslintrc-node
- node.js rules
Usage
Create a
.eslintrc.js
file at the root of your package.Identify the type of eslint config to use: node or browser.
3a. For node packages add the following contents to your .eslintrc.js
:
module.exports = {
extends: "@krakenjs/eslint-config-grumbler/eslint-node",
};
3b. For browser packages add the following contents to your .babelrc
:
module.exports = {
extends: "@krakenjs/eslint-config-grumbler/eslint-browser",
};
- Ensure you have a browserlist configuration in your
package.json
"browserslist": [
"IE >= 9",
"chrome >= 27",
"firefox >= 30",
"safari >= 5",
"opera >= 23"
],
8.2.0
2 days ago
8.1.3
1 year ago
8.1.2
1 year ago
8.1.0
1 year ago
8.0.1
2 years ago
8.0.4-next.0
1 year ago
8.0.3
1 year ago
8.1.1
1 year ago
8.0.2
1 year ago
8.0.5
1 year ago
8.0.4
1 year ago
8.0.7
1 year ago
8.0.6
1 year ago
8.0.0-next.6
2 years ago
7.0.0-next.1
2 years ago
8.0.0-next.5
2 years ago
8.0.0-next.4
2 years ago
8.0.0
2 years ago
8.0.0-next.3
2 years ago
8.0.0-next.2
2 years ago
8.0.0-next.1
2 years ago
8.0.0-next.0
2 years ago