Skip to content

Commit

Permalink
Keep JS tslint rules for webpack/rollup configs
Browse files Browse the repository at this point in the history
  • Loading branch information
legastero committed Jul 21, 2019
1 parent 27c07e2 commit 095d22d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tslint.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,5 +26,24 @@
"cognitive-complexity": [true, 120], "cognitive-complexity": [true, 120],
"parameters-max-number": [true, 8], "parameters-max-number": [true, 8],
"no-big-function": [true, 400] "no-big-function": [true, 400]
},
"jsRules": {
"quotemark": [true, "single", "jsx-double", "avoid-escape"],
"trailing-comma": [true, "never"],
"no-consecutive-blank-lines": [true, 2],
"max-classes-per-file": [false, 1],
"interface-name": [false],
"arrow-parens": [true, "ban-single-arg-parens"],
"max-line-length": [false],
"no-console": [false],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"semicolon": [true, "always"],
"object-literal-key-quotes": [true, "as-needed"]
} }
} }

0 comments on commit 095d22d

Please sign in to comment.