Skip to content

Commit

Permalink
test(lint): Update eslintrc to better lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlee44 committed Jan 6, 2021
1 parent 0b59219 commit 7ac67ae
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .eslintrc.json
@@ -1,14 +1,22 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"env": {"node": true, "browser": true},
"rules": {
"no-trailing-spaces": ["error"]
}
},
"overrides": [
{
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],

"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
]
}
]
}

0 comments on commit 7ac67ae

Please sign in to comment.