Skip to content

Commit

Permalink
feat: require-array-sort-compare ignoreStringArrays (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jan 15, 2021
1 parent 881a023 commit 95fcb7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.test.ts
Expand Up @@ -142,7 +142,7 @@ test('export', (t): void => {
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }],
'@typescript-eslint/restrict-plus-operands': ['error', { checkCompoundAssignments: true }],
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/require-array-sort-compare': ['error', { ignoreStringArrays: true }],
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/return-await': ['error', 'always'],
'@typescript-eslint/semi': ['error', 'never'],
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -121,7 +121,7 @@ const config: Linter.Config = {
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
'@typescript-eslint/prefer-ts-expect-error': 'error',
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/require-array-sort-compare': ['error', { ignoreStringArrays: true }],
'@typescript-eslint/restrict-plus-operands': ['error', { checkCompoundAssignments: true }],
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/return-await': ['error', 'always'],
Expand Down

0 comments on commit 95fcb7c

Please sign in to comment.