Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
10
node_modules/eslint-plugin-github/lib/configs/browser.js
generated
vendored
10
node_modules/eslint-plugin-github/lib/configs/browser.js
generated
vendored
|
|
@ -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()`',
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
4
node_modules/eslint-plugin-github/lib/configs/internal.js
generated
vendored
4
node_modules/eslint-plugin-github/lib/configs/internal.js
generated
vendored
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
|
|
|||
18
node_modules/eslint-plugin-github/lib/configs/react.js
generated
vendored
18
node_modules/eslint-plugin-github/lib/configs/react.js
generated
vendored
|
|
@ -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'],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
24
node_modules/eslint-plugin-github/lib/configs/recommended.js
generated
vendored
24
node_modules/eslint-plugin-github/lib/configs/recommended.js
generated
vendored
|
|
@ -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'],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
4
node_modules/eslint-plugin-github/lib/configs/typescript.js
generated
vendored
4
node_modules/eslint-plugin-github/lib/configs/typescript.js
generated
vendored
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue