Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
5
node_modules/eslint-plugin-github/lib/configs/browser.js
generated
vendored
5
node_modules/eslint-plugin-github/lib/configs/browser.js
generated
vendored
|
|
@ -2,14 +2,17 @@ module.exports = {
|
|||
env: {
|
||||
browser: true
|
||||
},
|
||||
plugins: ['github'],
|
||||
plugins: ['github', 'escompat'],
|
||||
extends: ['plugin:escompat/recommended'],
|
||||
rules: {
|
||||
'escompat/no-dynamic-imports': 'off',
|
||||
'github/async-currenttarget': 'error',
|
||||
'github/async-preventdefault': 'error',
|
||||
'github/get-attribute': 'error',
|
||||
'github/no-blur': 'error',
|
||||
'github/no-dataset': 'error',
|
||||
'github/no-innerText': 'error',
|
||||
'github/no-inner-html': 'error',
|
||||
'github/unescaped-html-literal': 'error',
|
||||
'github/no-useless-passive': 'error',
|
||||
'github/require-passive-events': 'error',
|
||||
|
|
|
|||
13
node_modules/eslint-plugin-github/lib/configs/react.js
generated
vendored
Normal file
13
node_modules/eslint-plugin-github/lib/configs/react.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaFeatures: {
|
||||
jsx: true
|
||||
}
|
||||
},
|
||||
plugins: ['github', 'jsx-a11y'],
|
||||
extends: ['plugin:jsx-a11y/recommended'],
|
||||
rules: {
|
||||
'github/a11y-no-generic-link-text': 'error'
|
||||
}
|
||||
}
|
||||
4
node_modules/eslint-plugin-github/lib/configs/recommended.js
generated
vendored
4
node_modules/eslint-plugin-github/lib/configs/recommended.js
generated
vendored
|
|
@ -18,11 +18,12 @@ module.exports = {
|
|||
'eslint-comments/no-unused-disable': 'error',
|
||||
'eslint-comments/no-unused-enable': 'error',
|
||||
'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
|
||||
'filenames/match-regex': ['error', '^[a-z0-9-]+(.d)?$'],
|
||||
'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
|
||||
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
|
||||
'github/array-foreach': 'error',
|
||||
'github/no-implicit-buggy-globals': 'error',
|
||||
'github/no-then': 'error',
|
||||
'github/no-dynamic-script-tag': 'error',
|
||||
'i18n-text/no-en': ['error'],
|
||||
'import/default': 'error',
|
||||
'import/export': 'error',
|
||||
|
|
@ -118,7 +119,6 @@ module.exports = {
|
|||
'prefer-template': 'error',
|
||||
'prettier/prettier': 'error',
|
||||
'require-yield': 'error',
|
||||
'sort-imports': 'error',
|
||||
'use-isnan': 'error',
|
||||
'valid-typeof': 'error',
|
||||
camelcase: ['error', {properties: 'always'}],
|
||||
|
|
|
|||
10
node_modules/eslint-plugin-github/lib/configs/typescript.js
generated
vendored
10
node_modules/eslint-plugin-github/lib/configs/typescript.js
generated
vendored
|
|
@ -1,17 +1,21 @@
|
|||
module.exports = {
|
||||
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
|
||||
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'plugin:escompat/typescript-2020'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint', 'github'],
|
||||
plugins: ['@typescript-eslint', 'escompat', 'github'],
|
||||
rules: {
|
||||
camelcase: 'off',
|
||||
'no-unused-vars': 'off',
|
||||
'no-shadow': 'off',
|
||||
'no-invalid-this': 'off',
|
||||
'@typescript-eslint/no-invalid-this': ['error'],
|
||||
'@typescript-eslint/no-shadow': ['error'],
|
||||
'@typescript-eslint/interface-name-prefix': 'off',
|
||||
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
|
||||
'@typescript-eslint/no-use-before-define': 'off',
|
||||
'@typescript-eslint/explicit-member-accessibility': 'off',
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
'@typescript-eslint/no-non-null-assertion': 'off'
|
||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue