@endo/eslint-plugin v2.2.3
@endo/eslint-plugin
Endo-specific plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @endo/eslint-plugin:
npm install @endo/eslint-plugin --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install @endo/eslint-plugin globally.
Usage
Extend a plugin:@endo/CONFIG in your .eslintrc configuration file. You can omit the /eslint-plugin suffix:
{
"extends": [
"plugin:@endo/recommended"
]
}CONFIG can be one of:
recommendedrules for code compatible with Hardened JSimportsopinions on how packages should use importsstyleopinions on JS coding stylestrictall of the aboveinternalrules only for packages within the Endo source repository
You can configure individual rules you want to use under the rules section.
{
"rules": {
"@endo/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
1 year ago
10 months ago
6 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago