Skip to content

Commit

Permalink
📦 Chore: replace tslint with eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Spades-S committed Mar 22, 2020
1 parent 2b40945 commit ce3fe27
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["prettier/@typescript-eslint"],
"rules": {
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/semi": "error",
"no-throw-literal": "error",
"no-unused-expressions": "error",
"no-redeclare": "error",
"curly": "error",
"eqeqeq": "error"
}
}
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"eg2.tslint"
"dbaeumer.vscode-eslint"
]
}
}
15 changes: 0 additions & 15 deletions tslint.json

This file was deleted.

0 comments on commit ce3fe27

Please sign in to comment.