## Changes Implements suggestions from https://typescript-eslint.io/blog/consistent-type-imports-and-exports-why-and-how/ and https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful, along with a couple more auto-fixable consistency rules. Of note: - Functions that return a promise are marked as async - Suggestions now appear for where to simplify boolean checks, non-nullish assertions, and optional chaining
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"search.exclude": {
|
|
"**/__generated__": true,
|
|
"**/xliff": true
|
|
},
|
|
"lit-plugin.strict": true,
|
|
"lit-plugin.rules.no-missing-import": "off",
|
|
"lit-plugin.maxNodeModuleImportDepth": -1,
|
|
"yaml.schemas": {
|
|
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
|
|
},
|
|
"yaml.customTags": [
|
|
"!ENV scalar",
|
|
"!ENV sequence",
|
|
"tag:yaml.org,2002:python/name:materialx.emoji.to_svg",
|
|
"tag:yaml.org,2002:python/name:materialx.emoji.twemoji",
|
|
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
|
|
],
|
|
"cSpell.words": [
|
|
"Browsertrix",
|
|
"btrix",
|
|
"Elems",
|
|
"hoverable",
|
|
"micromark",
|
|
"novnc",
|
|
"profileid",
|
|
"tailwindcss",
|
|
"wacz",
|
|
"Webrecorder",
|
|
"wysimark",
|
|
"xstate",
|
|
"zxcvbn"
|
|
],
|
|
"cSpell.languageSettings": [
|
|
{
|
|
"languageId": "typescript",
|
|
"allowCompoundWords": true,
|
|
"dictionaries": [
|
|
"typescript",
|
|
"node",
|
|
"html",
|
|
"fonts",
|
|
"typescript",
|
|
"css"
|
|
]
|
|
}
|
|
],
|
|
"eslint.workingDirectories": ["./frontend"],
|
|
"eslint.nodePath": "./frontend/node_modules"
|
|
}
|