mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Replace no-unused-imports rule to "warning" in dev environment (#3598)
This commit is contained in:
1 parent
f39f0634b1
commit
78bafb444a
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -114,7 +114,7 @@ module.exports = {
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-empty-interface": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"unused-imports/no-unused-imports-ts": "error",
|
||||
"unused-imports/no-unused-imports-ts": process.env.PROD === "true" ? "error" : "warning",
|
||||
"unused-imports/no-unused-vars-ts": [
|
||||
"warn", {
|
||||
"vars": "all",
|
||||
@@ -182,7 +182,7 @@ module.exports = {
|
||||
"@typescript-eslint/no-empty-function": "off",
|
||||
"react/display-name": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"unused-imports/no-unused-imports-ts": "error",
|
||||
"unused-imports/no-unused-imports-ts": process.env.PROD === "true" ? "error" : "warning",
|
||||
"unused-imports/no-unused-vars-ts": [
|
||||
"warn", {
|
||||
"vars": "all",
|
||||
|
||||
Reference in new issue
Block a user