Lint: no-template-curly-in-string (error) (#4196)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-01 08:37:29 -04:00
1 parent 30170163a6
commit c6dab62e99
2 files changed
+17 -14

No files matched your search

+6 -3
View File
@@ -85,7 +85,8 @@ module.exports = {
{ "blankLine": "always", "prev": "*", "next": "class" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]},
]
],
"no-template-curly-in-string": "error",
}
},
{
@@ -146,7 +147,8 @@ module.exports = {
{ "blankLine": "always", "prev": "*", "next": "class" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]},
]
],
"no-template-curly-in-string": "error",
},
},
{
@@ -216,7 +218,8 @@ module.exports = {
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]},
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "off"
"react-hooks/exhaustive-deps": "off",
"no-template-curly-in-string": "error",
},
}
]