mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-10 02:49:58 +00:00
9da77637b2
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"cSpell.words": [
|
|
"masto",
|
|
"Nuxtodon",
|
|
"unmute",
|
|
"unstorage"
|
|
],
|
|
"files.associations": {
|
|
"*.css": "postcss"
|
|
},
|
|
"i18n-ally.keysInUse": [
|
|
"time_ago_options.*",
|
|
"visibility.*"
|
|
],
|
|
"i18n-ally.keystyle": "nested",
|
|
"i18n-ally.localesPaths": [
|
|
"locales"
|
|
],
|
|
"i18n-ally.preferredDelimiter": "_",
|
|
"i18n-ally.sortKeys": true,
|
|
"i18n-ally.sourceLanguage": "en",
|
|
|
|
// Enable the ESlint flat config support
|
|
"eslint.experimental.useFlatConfig": true,
|
|
|
|
// Disable the default formatter, use eslint instead
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
"eslint.rules.customizations": [
|
|
{ "rule": "style/*", "severity": "off" },
|
|
{ "rule": "*-indent", "severity": "off" },
|
|
{ "rule": "*-spacing", "severity": "off" },
|
|
{ "rule": "*-spaces", "severity": "off" },
|
|
{ "rule": "*-order", "severity": "off" },
|
|
{ "rule": "*-dangle", "severity": "off" },
|
|
{ "rule": "*-newline", "severity": "off" },
|
|
{ "rule": "*quotes", "severity": "off" },
|
|
{ "rule": "*semi", "severity": "off" }
|
|
],
|
|
|
|
// Enable eslint for all supported languages
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml"
|
|
]
|
|
}
|