Browse Source

fix(ts): Ignore lint errors for CSS container queries (#86752)

Malachi Willey 2 days ago
parent
commit
dbbb8e78f6
1 changed files with 7 additions and 1 deletions
  1. 7 1
      config/tsconfig.base.json

+ 7 - 1
config/tsconfig.base.json

@@ -112,7 +112,13 @@
     "plugins": [
       // The styled plugin provides language server autocompletion for styled
       // component template strings
-      { "name": "@styled/typescript-styled-plugin" }
+      {
+        "name": "@styled/typescript-styled-plugin",
+        "lint": {
+          "validProperties": ["container-type"],
+          "unknownAtRules": "ignore"
+        }
+      }
     ]
   },
   "include": ["../static/app", "../static/gsApp", "../tests/js"],