Skip to content

Commit

Permalink
chore(lint): add no-const-enum rule (#4677)
Browse files Browse the repository at this point in the history
* chore(lint): add no-const-enum rule

* chore: update lock file
  • Loading branch information
cartant authored and benlesh committed Jun 4, 2019
1 parent 9b5ce2f commit 35c96cd
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 23 deletions.
84 changes: 62 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -212,7 +212,7 @@
"ts-node": "6.1.0",
"tsconfig-paths": "3.2.0",
"tslint": "5.9.1",
"tslint-etc": "1.2.6",
"tslint-etc": "1.5.0",
"tslint-no-toplevel-property-access": "0.0.2",
"tslint-no-unused-expression-chai": "0.0.3",
"typescript": "^3.0.1",
Expand Down
2 changes: 2 additions & 0 deletions tslint.json
Expand Up @@ -58,6 +58,7 @@
"check-separator",
"check-type"
],
"no-const-enum": true,
"no-toplevel-property-access": [
true,
"src/index.ts",
Expand All @@ -72,6 +73,7 @@
},
"rulesDirectory": [
"tslint-no-unused-expression-chai",
"node_modules/tslint-etc/dist/rules",
"node_modules/tslint-no-toplevel-property-access/rules"
]
}

0 comments on commit 35c96cd

Please sign in to comment.