mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
eslint: fix github/array-foreach rule
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -8,6 +8,7 @@ overrides:
|
|||||||
- files:
|
- files:
|
||||||
- '**/{public,frontend}/**/*.{ts,tsx,page.js}'
|
- '**/{public,frontend}/**/*.{ts,tsx,page.js}'
|
||||||
rules:
|
rules:
|
||||||
|
github/array-foreach: 0
|
||||||
'@typescript-eslint/indent':
|
'@typescript-eslint/indent':
|
||||||
- warn
|
- warn
|
||||||
- 2
|
- 2
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ packages/**/*.js
|
|||||||
!/build/*.js
|
!/build/*.js
|
||||||
!**/bin/*.js
|
!**/bin/*.js
|
||||||
!*.page.js
|
!*.page.js
|
||||||
!packages/utils/lib/register.js
|
!packages/register/index.js
|
||||||
## ui-default
|
## ui-default
|
||||||
!packages/ui-default/**/*.js
|
!packages/ui-default/**/*.js
|
||||||
!packages/geoip/download.js
|
!packages/geoip/download.js
|
||||||
|
|||||||
@@ -24,5 +24,4 @@ rules:
|
|||||||
jsx-a11y/anchor-is-valid: 0
|
jsx-a11y/anchor-is-valid: 0
|
||||||
jsx-a11y/click-events-have-key-events: 0
|
jsx-a11y/click-events-have-key-events: 0
|
||||||
jsx-a11y/label-has-associated-control: 0
|
jsx-a11y/label-has-associated-control: 0
|
||||||
github/array-foreach: 0
|
# 'react/no-unknown-property': ['error', { ignore: ['key'] }],
|
||||||
# 'react/no-unknown-property': ['error', { ignore: ['key'] }],
|
|
||||||
Reference in new issue
Block a user