react-use/tslint.json
xobotyi c0a5970e1f .editorconfig:
- Force if-else braces placement;
tslint:
- Allow leading underscore;
2019-08-24 01:24:22 +03:00

46 lines
1013 B
JSON

{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": ["node_modules/**"]
},
"jsRules": {},
"rules": {
"ban-types": false,
"interface-name": [true, "never-prefix"],
"no-console": false,
"max-classes-per-file": false,
"no-any": false,
"no-empty": false,
"prefer-for-of": false,
"jsx-no-lambda": [false],
"no-empty-interface": [false],
"object-literal-sort-keys": false,
"no-unused-expression": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"prettier": [
true,
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
],
"ordered-imports": false
},
"rulesDirectory": ["tslint-plugin-prettier"]
}