WIP. A little custom music server

add global prettier and oxlint config

+24
.oxlintrc.json
··· 1 + { 2 + "plugins": ["import"], 3 + "ignorePatterns": ["dist/", "node_modules/"], 4 + "rules": { 5 + "unicorn/prefer-set-has": "warn", 6 + "no-unused-expressions": "warn", 7 + "oxc/bad-bitwise-operator": "error", 8 + "typescript/no-explicit-any": "error", 9 + "typescript/no-namespace": "error", 10 + "typescript/no-require-imports": "error", 11 + "unicorn/no-nested-ternary": "error", 12 + "unicorn/prefer-modern-math-apis": "error", 13 + "import/no-absolute-path": "error", 14 + "no-fallthrough": "error", 15 + "radix": "error", 16 + "unicorn/no-unnecessary-slice-end": "warn", 17 + "unicorn/prefer-array-some": "error", 18 + "unicorn/prefer-math-min-max": "error", 19 + "unicorn/prefer-native-coercion-functions": "error", 20 + "unicorn/require-number-to-fixed-digits-argument": "error", 21 + "curly": "warn", 22 + "oxc/no-barrel-file": "error" 23 + } 24 + }
+10
.prettierrc.toml
··· 1 + tabWidth = 4 2 + useTabs = true 3 + printWidth = 120 4 + semi = true 5 + experimentalOperatorPosition = "start" 6 + quoteProps = "consistent" 7 + objectWrap = "preserve" 8 + bracketSameLine = false 9 + 10 + plugins=['@prettier/plugin-oxc']