Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 24, 2023
1 parent 5fb34ae commit 764e9ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ module.exports = {
],
'import/prefer-default-export': OFF,

'jest/consistent-test-it': OFF,
'jest/consistent-test-it': WARNING,
'jest/expect-expect': OFF,
'jest/no-large-snapshots': [
WARNING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const directiveTypes: DirectiveType[] = [
'textDirective',
];

const directivePrefixMap: {[key: DirectiveType]: string} = {
// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
const directivePrefixMap: Record<DirectiveType, string> = {
textDirective: ':',
leafDirective: '::',
containerDirective: ':::',
Expand Down

0 comments on commit 764e9ab

Please sign in to comment.