@litert/eslint-plugin-rules
v0.1.7
Published
The custom ESLint rules for LiteRT projects
Downloads
33
Maintainers
Readme
@litert/eslint-plugin-rules
The customized ESLint rules insides LiteRT ORG.
Installation
npm i --save-dev @litert/eslint-plugin-rules
Usage
Put these configuration in your .eslintrc
:
{
"extends": [
"plugin:@litert/rules/typescript"
],
"parserOptions": {
"project": "./tsconfig.json" // Configure the path to your tsconfig.json file
},
"plugins": [
"@litert/rules"
],
"rules": {
// Add your cutomized rules here if necessary.
}
}
Customized rules
@litert/general/disable-for-each-method
Disabling the method
Array.prototype.forEach
.
Click here to read the default rules.