Skip to content

Commit

Permalink
setup: add eslint rule to prevent duplicate imports
Browse files Browse the repository at this point in the history
Co-Authored-By: Maximilian Massing <[email protected]>
  • Loading branch information
fbrandt-dev and IllTemperedMax committed Feb 11, 2020
1 parent 4345113 commit 7db3b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": "error",
"prefer-const": "error",
"no-duplicate-imports": "error",
"prefer-destructuring": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"trailingComma": "es5",
"singleQuote": true,
"useTabs": true
"useTabs": true,
}

0 comments on commit 7db3b07

Please sign in to comment.