chore: move helper.js to util.js (#8510)

This commit is contained in:
jrandolf
2022-06-14 13:16:21 +02:00
committed by GitHub
parent 6efb660f4d
commit 0678343b53
19 changed files with 222 additions and 229 deletions

View File

@@ -16,7 +16,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['mocha', '@typescript-eslint', 'unicorn', 'import'],
plugins: ['mocha', '@typescript-eslint', 'import'],
extends: ['plugin:prettier/recommended'],
@@ -100,9 +100,6 @@ module.exports = {
// ensure we don't have any it.only or describe.only in prod
'mocha/no-exclusive-tests': 'error',
// enforce the variable in a catch block is named error
'unicorn/catch-error-name': 'error',
'no-restricted-imports': [
'error',
{
@@ -173,15 +170,8 @@ module.exports = {
},
},
],
'@typescript-eslint/array-type': [
2,
{
default: 'array-simple',
},
],
// By default this is a warning but we want it to error.
'@typescript-eslint/explicit-module-boundary-types': 2,
'no-restricted-syntax': [
'error',
{