mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +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:
|
||||
- '**/{public,frontend}/**/*.{ts,tsx,page.js}'
|
||||
rules:
|
||||
github/array-foreach: 0
|
||||
'@typescript-eslint/indent':
|
||||
- warn
|
||||
- 2
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ packages/**/*.js
|
||||
!/build/*.js
|
||||
!**/bin/*.js
|
||||
!*.page.js
|
||||
!packages/utils/lib/register.js
|
||||
!packages/register/index.js
|
||||
## ui-default
|
||||
!packages/ui-default/**/*.js
|
||||
!packages/geoip/download.js
|
||||
|
||||
@@ -24,5 +24,4 @@ rules:
|
||||
jsx-a11y/anchor-is-valid: 0
|
||||
jsx-a11y/click-events-have-key-events: 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