Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2023-07-13 09:09:17 +00:00
parent 4fad06f438
commit 40a500c743
4168 changed files with 298222 additions and 374905 deletions

View file

@ -1,6 +1,6 @@
module.exports = {
env: {
browser: true
browser: true,
},
plugins: ['github', 'escompat'],
extends: ['plugin:escompat/recommended'],
@ -22,8 +22,8 @@ module.exports = {
'error',
{
selector: "NewExpression[callee.name='URL'][arguments.length=1]",
message: 'Please pass in `window.location.origin` as the 2nd argument to `new URL()`'
}
]
}
message: 'Please pass in `window.location.origin` as the 2nd argument to `new URL()`',
},
],
},
}

View file

@ -3,6 +3,6 @@ module.exports = {
rules: {
'github/authenticity-token': 'error',
'github/js-class-name': 'error',
'github/no-d-none': 'error'
}
'github/no-d-none': 'error',
},
}

View file

@ -2,12 +2,22 @@ module.exports = {
parserOptions: {
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
jsx: true,
},
},
plugins: ['github', 'jsx-a11y'],
extends: ['plugin:jsx-a11y/recommended'],
rules: {
'github/a11y-no-generic-link-text': 'error'
}
'jsx-a11y/role-supports-aria-props': 'off', // Override with github/role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved
'github/a11y-aria-label-is-well-formatted': 'error',
'github/role-supports-aria-props': 'error',
'jsx-a11y/no-aria-hidden-on-focusable': 'error',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/anchor-ambiguous-text': [
'error',
{
words: ['this', 'more', 'read here', 'read more'],
},
],
},
}

View file

@ -1,12 +1,12 @@
module.exports = {
parserOptions: {
ecmaFeatures: {
ecmaVersion: 6
ecmaVersion: 6,
},
sourceType: 'module'
sourceType: 'module',
},
env: {
es6: true
es6: true,
},
plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text', 'no-only-tests'],
rules: {
@ -41,8 +41,8 @@ module.exports = {
allowArray: true,
allowArrowFunction: false,
allowLiteral: true,
allowObject: true
}
allowObject: true,
},
],
'import/no-commonjs': 'error',
'import/no-deprecated': 'error',
@ -89,8 +89,8 @@ module.exports = {
'no-only-tests/no-only-tests': [
'error',
{
block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite']
}
block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'],
},
],
'no-redeclare': 'error',
'no-regex-spaces': 'error',
@ -122,13 +122,13 @@ module.exports = {
'use-isnan': 'error',
'valid-typeof': 'error',
camelcase: ['error', {properties: 'always'}],
eqeqeq: ['error', 'smart']
eqeqeq: ['error', 'smart'],
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.ts']
}
}
}
extensions: ['.js', '.ts'],
},
},
},
}

View file

@ -16,6 +16,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off'
}
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
}