Skip to content

Commit

Permalink
Remove use-strict rule (palantir#1615)
Browse files Browse the repository at this point in the history
Resolves palantir#678. This rule is obsolete as of TypeScript v1.8.
  • Loading branch information
adidahiya authored Oct 9, 2016
1 parent cbe88c3 commit 2534fc9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 248 deletions.
21 changes: 0 additions & 21 deletions docs/_data/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -1228,27 +1228,6 @@
],
"type": "functionality"
},
{
"ruleName": "use-strict",
"description": "Requires using ECMAScript 5's strict mode.",
"optionsDescription": "\nTwo arguments may be optionally provided:\n\n* `check-module` checks that all top-level modules are using strict mode.\n* `check-function` checks that all top-level functions are using strict mode.",
"options": {
"type": "array",
"items": {
"type": "string",
"enum": [
"check-module",
"check-function"
]
},
"minLength": 0,
"maxLength": 2
},
"optionExamples": [
"[true, \"check-module\"]"
],
"type": "functionality"
},
{
"ruleName": "variable-name",
"description": "Checks variable names for various errors.",
Expand Down
37 changes: 0 additions & 37 deletions docs/rules/use-strict/index.html

This file was deleted.

121 changes: 0 additions & 121 deletions src/rules/useStrictRule.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
"rules/typedefRule.ts",
"rules/typedefWhitespaceRule.ts",
"rules/useIsnanRule.ts",
"rules/useStrictRule.ts",
"rules/variableNameRule.ts",
"rules/whitespaceRule.ts",
"test/lines.ts",
Expand Down
62 changes: 0 additions & 62 deletions test/rules/use-strict/test.ts.lint

This file was deleted.

5 changes: 0 additions & 5 deletions test/rules/use-strict/tslint.json

This file was deleted.

1 change: 0 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
"../src/rules/typedefRule.ts",
"../src/rules/typedefWhitespaceRule.ts",
"../src/rules/useIsnanRule.ts",
"../src/rules/useStrictRule.ts",
"../src/rules/variableNameRule.ts",
"../src/rules/whitespaceRule.ts",
"../src/test.ts",
Expand Down

0 comments on commit 2534fc9

Please sign in to comment.