Skip to content

Commit

Permalink
chore(atomic): add ts-lit-plugin (#4874)
Browse files Browse the repository at this point in the history
Add ts-lit-plugin with strict mode and other rules that I think are
necessary for a good DX


https://coveord.atlassian.net/browse/KIT-3869
  • Loading branch information
y-lakhdar authored Jan 22, 2025
1 parent 3400ea7 commit c0babd0
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 0 deletions.
217 changes: 217 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"shadow-dom-testing-library": "1.11.3",
"storybook": "8.1.2",
"tailwindcss": "3.4.17",
"ts-lit-plugin": "2.0.2",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"vite": "5.4.11",
Expand Down
15 changes: 15 additions & 0 deletions packages/atomic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{
"extends": "./tsconfig.stencil.json",
"compilerOptions": {
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true,
"rules": {
"no-unknown-property": "error",
"no-unknown-tag-name": "error",
"no-incompatible-type-binding": "error",
"no-unknown-attribute": "error",
"no-nullable-attribute-binding": "warning"
}
}
]
},
"exclude": ["node_modules", "src/external-builds"]
}

0 comments on commit c0babd0

Please sign in to comment.