mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
eslint: fix quote-props rule
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -13,6 +13,7 @@ plugins:
|
|||||||
- simple-import-sort
|
- simple-import-sort
|
||||||
- eslint-plugin-import
|
- eslint-plugin-import
|
||||||
- eslint-plugin-github
|
- eslint-plugin-github
|
||||||
|
- '@stylistic'
|
||||||
rules:
|
rules:
|
||||||
'@typescript-eslint/no-shadow': 1
|
'@typescript-eslint/no-shadow': 1
|
||||||
|
|
||||||
@@ -147,6 +148,9 @@ rules:
|
|||||||
|
|
||||||
github/array-foreach: 1
|
github/array-foreach: 1
|
||||||
|
|
||||||
|
quote-props: 0
|
||||||
|
'@stylistic/quote-props': [0, as-needed]
|
||||||
|
|
||||||
simple-import-sort/imports:
|
simple-import-sort/imports:
|
||||||
- warn
|
- warn
|
||||||
- groups:
|
- groups:
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "react.yaml",
|
"main": "react.yaml",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@stylistic/eslint-plugin": "^1.5.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
||||||
"@typescript-eslint/parser": "^6.19.1",
|
"@typescript-eslint/parser": "^6.19.1",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
|
|||||||
Reference in new issue
Block a user