Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: support Lit 3.0 #15

Merged
merged 6 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 20 additions & 25 deletions frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
{
"extends": ["vaadin"],
"plugins": ["chai-friendly"],
"extends": [
"vaadin/typescript-requiring-type-checking",
"vaadin/imports-typescript",
"vaadin/testing",
"vaadin/prettier"
],
"ignorePatterns": ["packages/ts/*/test/**/*.snap.ts"],
"plugins": ["mocha", "tsdoc"],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off",
// https://github.com/import-js/eslint-plugin-import/issues/2170#issuecomment-889657579
"import/no-unresolved": "off",
"@typescript-eslint/class-methods-use-this": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/return-await": "off",
"class-methods-use-this": "off",
"import/no-duplicates": "off",
"import/prefer-default-export": "off",
"max-params": "off",
"max-classes-per-file": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-restricted-syntax": [
"error",
{
"selector": "ForInStatement",
"message": "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array."
},
{
"selector": "LabeledStatement",
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
},
{
"selector": "WithStatement",
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
}
],

"no-unused-expressions": "off",
"chai-friendly/no-unused-expressions": "error"
"mocha/no-exclusive-tests": "error",
"tsdoc/syntax": "error"
}
}
1 change: 0 additions & 1 deletion frontend/lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"packages": ["packages/*"],
"npmClient": "npm",
"useWorkspaces": true,
"version": "0.0.18"
}
Loading
Loading