tsconfig_base.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "compilerOptions": {
  3. "baseUrl": "../../../third_party/material_web_components/components-chromium/node_modules/",
  4. "module": "ESNext",
  5. "target": "ES2021",
  6. "moduleResolution": "node",
  7. "lib": ["ES2021", "dom", "dom.iterable"],
  8. "declaration": true,
  9. "noUnusedLocals": true,
  10. "noUnusedParameters": true,
  11. "noImplicitReturns": true,
  12. "noFallthroughCasesInSwitch": true,
  13. "experimentalDecorators": true,
  14. "strict": true,
  15. "noImplicitAny": false,
  16. "importHelpers": true,
  17. "plugins": [
  18. {
  19. "name": "ts-lit-plugin",
  20. "rules": {
  21. "no-boolean-in-attribute-binding": "error",
  22. "no-complex-attribute-binding": "error",
  23. "no-expressionless-property-binding": "error",
  24. "no-incompatible-property-type": "error",
  25. "no-incompatible-type-binding": "error",
  26. "no-invalid-attribute-name": "error",
  27. "no-invalid-boolean-binding": "error",
  28. "no-invalid-directive-binding": "error",
  29. "no-invalid-tag-name": "error",
  30. "no-noncallable-event-binding": "error",
  31. "no-nullable-attribute-binding": "error",
  32. "no-unclosed-tag": "error",
  33. "no-unintended-mixed-binding": "error",
  34. "no-unknown-property-converter": "error",
  35. "no-unknown-property": "error",
  36. "no-unknown-tag-name": "error"
  37. }
  38. }
  39. ]
  40. }
  41. }