diff --git a/.eslintrc.json b/.eslintrc.json index 8527576da2..644e04a073 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -65,7 +65,10 @@ "import/extensions": [ "error", "ignorePackages", - { "ts": "never", "js": "never" } + { + "ts": "never", + "js": "never" + } ], "no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"], "object-curly-newline": "off", @@ -112,7 +115,10 @@ ], "unused-imports/no-unused-imports": "error", "lit/attribute-value-entities": "off", - "lit/no-template-map": "off" + "lit/no-template-map": "off", + "lit/no-native-attributes": "warn", + "lit/no-this-assign-in-render": "warn", + "lit/prefer-nothing": "warn" }, "plugins": ["disable", "unused-imports"], "processor": "disable/disable" diff --git a/package.json b/package.json index fcfd48f9d4..b7b3bab7bd 100644 --- a/package.json +++ b/package.json @@ -194,7 +194,7 @@ "eslint-import-resolver-webpack": "^0.13.1", "eslint-plugin-disable": "^2.0.3", "eslint-plugin-import": "^2.24.2", - "eslint-plugin-lit": "^1.6.1", + "eslint-plugin-lit": "^1.8.2", "eslint-plugin-unused-imports": "^1.1.5", "eslint-plugin-wc": "^1.4.0", "fancy-log": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 4257048348..5a37c450b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7850,16 +7850,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-lit@npm:^1.6.1": - version: 1.6.1 - resolution: "eslint-plugin-lit@npm:1.6.1" +"eslint-plugin-lit@npm:^1.8.2": + version: 1.8.2 + resolution: "eslint-plugin-lit@npm:1.8.2" dependencies: parse5: ^6.0.1 parse5-htmlparser2-tree-adapter: ^6.0.1 requireindex: ^1.2.0 peerDependencies: eslint: ">= 5" - checksum: 75e4dd2fb074cb600db1aee78196e201196bce21b8983c9bb64eea86c7d24f7013868bf5aa92f3c3f0087e232abf1ddb1954fd2d37d7ba4a897d4d085d9a14eb + checksum: 30c4d60d26734e6974da3b6f4998f9c10a797f63ad123368bb9d1064efcb99ccd255ba9e4efec41f7029a0eaf8196445c3d8cf424cd4ef918faee2b388d474ae languageName: node linkType: hard @@ -9484,7 +9484,7 @@ fsevents@^1.2.7: eslint-import-resolver-webpack: ^0.13.1 eslint-plugin-disable: ^2.0.3 eslint-plugin-import: ^2.24.2 - eslint-plugin-lit: ^1.6.1 + eslint-plugin-lit: ^1.8.2 eslint-plugin-unused-imports: ^1.1.5 eslint-plugin-wc: ^1.4.0 fancy-log: ^2.0.0