Skip to content

Commit

Permalink
Update .eslintrc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
finscn authored Aug 30, 2023
1 parent f3ace46 commit 82990e7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ rules:
eqeqeq: ['error', 'smart']
no-multiple-empty-lines: [warn, {max: 2, maxEOF: 1}]
'@typescript-eslint/no-duplicate-type-constituents': [error, { ignoreIntersections: false, ignoreUnions: true }]
arrow-body-style: [off, as-needed]
arrow-body-style: [error, as-needed]
arrow-parens: [ error, as-needed ]
brace-style: [ error, 1tbs ]
id-denylist: [ error, any, unknown, Number, number, String, string, Boolean, boolean, Undefined, undefined ]
Expand All @@ -205,4 +205,13 @@ rules:
no-constant-condition: off
# padded-blocks: ['error', { 'classes': 'always' }]
"@typescript-eslint/space-infix-ops": ["error"]
'@typescript-eslint/type-annotation-spacing': [error, { "before": false, "after": true }]
'@typescript-eslint/type-annotation-spacing': [error, {
before: false,
after: true,
overrides : {
arrow: {
before: true,
after: true,
}
}
}]

0 comments on commit 82990e7

Please sign in to comment.