mirror of
https://github.com/hanzo-apps/android-rn-obytes.git
synced 2026-11-09 15:50:32 +00:00
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"editor.tabSize": 2,
|
|
"editor.detectIndentation": false,
|
|
"search.exclude": {
|
|
"yarn.lock": true
|
|
},
|
|
|
|
// Disable Prettier completely
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
|
|
// Enable ESLint auto-fix on save
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// Silence stylistic rules in IDE while still auto-fixing them
|
|
"eslint.rules.customizations": [
|
|
{ "rule": "style/*", "severity": "off", "fixable": true },
|
|
{ "rule": "format/*", "severity": "off", "fixable": true },
|
|
{ "rule": "*-indent", "severity": "off", "fixable": true },
|
|
{ "rule": "*-spacing", "severity": "off", "fixable": true },
|
|
{ "rule": "*-spaces", "severity": "off", "fixable": true },
|
|
{ "rule": "*-order", "severity": "off", "fixable": true },
|
|
{ "rule": "*-dangle", "severity": "off", "fixable": true },
|
|
{ "rule": "*-newline", "severity": "off", "fixable": true },
|
|
{ "rule": "*quotes", "severity": "off", "fixable": true },
|
|
{ "rule": "*semi", "severity": "off", "fixable": true }
|
|
],
|
|
|
|
// Enable ESLint for various file types
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"gql",
|
|
"graphql",
|
|
"astro",
|
|
"css",
|
|
"less",
|
|
"scss",
|
|
"pcss",
|
|
"postcss"
|
|
],
|
|
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"cSpell.words": ["Flashlist", "Lato"],
|
|
"i18n-ally.localesPaths": ["src/translations/"],
|
|
"i18n-ally.keystyle": "nested",
|
|
"i18n-ally.disabled": false, // make sure to disable i18n-ally in your global setting and only enable it for such projects
|
|
"tailwindCSS.experimental.classRegex": [
|
|
["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
|
|
]
|
|
}
|