browsertrix/.vscode/settings.json
Emma Segal-Grossman b1e2f1b325
Add ESLint rules for import ordering (#1608)
Follow-up from
https://github.com/webrecorder/browsertrix-cloud/pull/1546#discussion_r1529001599
(cc @SuaYoo)

- Adds `eslint-plugin-import-x` and
`@ianvs/prettier-plugin-sort-imports` and configures rules for them both
so imports get sorted on format & on lint.
- Runs both on everything!
2024-03-18 21:50:02 -04:00

53 lines
1.2 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",
"favicons",
"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",
"tailwindCSS.experimental.classRegex": ["tw`([^`]*)"]
}