mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 17:43:52 +08:00
style: add comments in tslint.json
This commit is contained in:
parent
62511a5209
commit
03829ac9fb
26
tslint.json
26
tslint.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"//00": "Consider using no-identical-functions and disabling in faulty tests",
|
||||
"//01": "Consider using cognitive-complexity and refactor",
|
||||
"//02": "Consider using no-useless-cast but it's annoying",
|
||||
// Consider using no-identical-functions and disabling in faulty tests
|
||||
// Consider using cognitive-complexity and refactor
|
||||
// Consider using no-useless-cast but it's annoying
|
||||
"extends": [
|
||||
"tslint-no-circular-imports"
|
||||
],
|
||||
@ -10,17 +10,15 @@
|
||||
"node_modules/tslint-sonarts/lib/rules"
|
||||
],
|
||||
"rules": {
|
||||
"//03": "==================================================================================================",
|
||||
"//04": "custom rules defined in etc/rules/**",
|
||||
// ==================================================================================================
|
||||
// custom rules defined in etc/rules/**
|
||||
"defocus": true,
|
||||
"import-groups": true,
|
||||
"no-global-tslint-disable": true,
|
||||
"single-eof-line": true,
|
||||
"//05": "==================================================================================================",
|
||||
|
||||
"//06": "==================================================================================================",
|
||||
"//07": "tslint-sonarts rules. See https://github.com/SonarSource/SonarTS",
|
||||
"//08": "These rules are part of the bug detection section of tslint-sonarts",
|
||||
// ==================================================================================================
|
||||
// tslint-sonarts rules. See https://github.com/SonarSource/SonarTS
|
||||
// These rules are part of the bug detection section of tslint-sonarts
|
||||
"no-big-function": true,
|
||||
"no-all-duplicated-branches": true,
|
||||
"no-case-with-or": true,
|
||||
@ -38,13 +36,11 @@
|
||||
"no-use-of-empty-return-value": true,
|
||||
"no-useless-increment": true,
|
||||
|
||||
"//09": "These rules are part of the code smell detection section of tslint-sonarts",
|
||||
//These rules are part of the code smell detection section of tslint-sonarts
|
||||
"no-dead-store": true,
|
||||
"no-useless-intersection": true,
|
||||
"//10": "==================================================================================================",
|
||||
|
||||
"//11": "==================================================================================================",
|
||||
"//12": "base tslint rules",
|
||||
// ==================================================================================================
|
||||
// base tslint rules
|
||||
"arrow-return-shorthand": true,
|
||||
"no-duplicate-imports": true,
|
||||
"no-angle-bracket-type-assertion": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user