2.0.0 • Published 5 months ago
eslint-plugin-gb v2.0.0
eslint-plugin-gb
Description
My favorite eslint configurations
Installation
$ npm i --save-dev typescript
$ npm i --save-dev eslint
$ npm i --save-dev @typescript-eslint/parser
$ npm i --save-dev @typescript-eslint/eslint-plugin
$ npm i --save-dev eslint-plugin-gb
Usage
// .eslintrc.js
module.exports = {
plugins: ['gb'],
extends: ['plugin:gb/recommended'],
};
recommended
config
Rule | Setting |
---|---|
@typescript-eslint/consistent-type-imports | warn |
@typescript-eslint/explicit-member-accessibility | warn |
@typescript-eslint/explicit-module-boundary-types | warn |
@typescript-eslint/member-ordering | warn (with alphabetical ordering) |
@typescript-eslint/no-unused-vars | off |
recommended-with-type-checking
config
all of the recommended
rules and also the following.
Rule | Setting |
---|---|
@typescript-eslint/no-floating-promises | warn |
@typescript-eslint/unbound-method | error |
2.0.0-alpha.3
5 months ago
2.0.0-alpha.4
5 months ago
2.0.0-alpha.6
5 months ago
2.0.0
5 months ago
2.0.0-alpha.0
7 months ago
2.0.0-alpha.1
7 months ago
2.0.0-alpha.2
6 months ago
1.5.1
1 year ago
1.5.0
1 year ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.2.0
3 years ago
0.0.0
3 years ago