1.0.3 • Published 6 years ago
@geekie/eslint-plugin v1.0.3
ESLint utilities used at Geekie
Installation
Install using:
$ yarn add --dev eslint eslint-plugin-geekie
Usage
Add geekie
to your .eslintrc.json
plugins:
{
"plugins": [
"geekie"
]
}
And add one of the configs to extends
:
{
"extends": [
"plugin:@geekie/recommended"
]
}
Or add each rule individually:
{
"rules": {
"@geekie/no-general-eslint-disable": "error"
}
}
Configs
The plugin exports two config:
rules
: enables the rules included in the pluginrecommended
: a sensible config for JS only, and enables the rules included in the plugin
Rules
The plugin exports two rules:
no-general-eslint-disable
: disables usage ofeslint-disable
without specific rules, to prevent turning off linting completely in a line or in a file.no-stringify-in-matcher
: prevents usage ofJSON.stringify
in Jest matchers (it might work with others) because the serialization order is not reliable.
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
1.0.0-beta.6
6 years ago
1.0.0-beta.5
6 years ago
1.0.0-beta.4
6 years ago
1.0.0-beta.3
6 years ago
1.0.0-beta.2
6 years ago
1.0.0-beta.1
6 years ago