package
ESLint rules used at Geekie
npm install @geekie/eslint-pluginGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 2 packages.
129.0 kB
Includes dependencies.
Install using:
$ yarn add --dev eslint eslint-plugin-geekieAdd 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"
}
}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 pluginThe plugin exports two rules:
no-general-eslint-disable: disables usage of eslint-disable without specific rules, to prevent turning off linting completely in a line or in a file.no-stringify-in-matcher: prevents usage of JSON.stringify in Jest matchers (it might work with others) because the serialization order is not reliable.Latest published Jul 23, 2018
latest
mattbarros
mateus.rodrigues@geekie.com.br