add ts-lit-plugin and eslint-typescript disable no-invalid-css rule fix a bunch of errors raised by eslint and typescript run prettier & eslint on the remaining files remove unused imports split coll-index into index and info components... and rename "coll" -> "item" for these. also includes some fixes for previously-undocumented properties used on non-ts elements. extract labeled fields into separate component... and make a few type improvements too swap custom copy button for shoelace one rename a few more missed things
26 lines
590 B
JavaScript
26 lines
590 B
JavaScript
/* eslint-env node */
|
|
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:lit/recommended",
|
|
"prettier",
|
|
"plugin:@typescript-eslint/recommended",
|
|
],
|
|
plugins: ["@typescript-eslint", "lit"],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: "module",
|
|
},
|
|
rules: {
|
|
"no-restricted-globals": [2, "event", "error"],
|
|
"linebreak-style": ["error", "unix"],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
},
|
|
ignorePatterns: ["ruffle/**/*", "build/**/*"],
|
|
};
|