Skip to content

Commit

Permalink
Merge pull request #261 from alpin11/fix/comma-dangle-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
halykon authored Aug 22, 2023
2 parents b1455b4 + 82ca318 commit ec3978b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ module.exports = {
"array-callback-return": "off",

"@typescript-eslint/space-infix-ops": "error",
"@typescript-eslint/comma-dangle": ["error", "always-multiline"],
"@typescript-eslint/comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "always-multiline",
"functions": "always-multiline"
}]
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}],
"@typescript-eslint/no-inferrable-types": "error",
Expand Down

0 comments on commit ec3978b

Please sign in to comment.