Skip to content

Commit

Permalink
Fix eslintrc as recommended
Browse files Browse the repository at this point in the history
Fix rules flagged by `npx eslint-config-prettier `

See https://github.com/prettier/eslint-config-prettier#what-and-why

Change-Id: I3441f316e92358f7f9c1ee0bd8eb0956f608d3a3
  • Loading branch information
bpedersen2 committed Sep 15, 2023
1 parent 4071a83 commit 94a0ca9
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"plugins": ["@typescript-eslint/eslint-plugin"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugin:prettier/recommended",
"prettier"
],
"root": true,
"env": {
"node": true,
Expand All @@ -18,19 +19,6 @@
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/naming-convention": [
"error",
{
Expand All @@ -44,10 +32,10 @@
"error",
"double",
{
"allowTemplateLiterals": true
"allowTemplateLiterals": true,
"avoidEscape": true
}
],
"@typescript-eslint/semi": ["error", "always"],
"no-constant-condition": ["error", { "checkLoops": false }],
"@typescript-eslint/no-unused-vars": "warn"
}
Expand Down

0 comments on commit 94a0ca9

Please sign in to comment.