diff options
| author | Fuwn <[email protected]> | 2025-09-09 18:16:44 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-09 18:16:44 -0700 |
| commit | 8baec3564fccac1a7743ac9de481f54e0808c0c9 (patch) | |
| tree | e29b09fb158539a15df8a5a10bb484666fb22c2d /eslint.config.js | |
| parent | refactor(src): Use arrow functions everywhere (diff) | |
| download | umabotdiscord-8baec3564fccac1a7743ac9de481f54e0808c0c9.tar.xz umabotdiscord-8baec3564fccac1a7743ac9de481f54e0808c0c9.zip | |
style: Use base prettier:recommended rules
Diffstat (limited to 'eslint.config.js')
| -rw-r--r-- | eslint.config.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/eslint.config.js b/eslint.config.js index d609ca7..0c1c8cd 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,12 +1,12 @@ -import prettier from 'eslint-plugin-prettier/recommended'; -import js from '@eslint/js'; -import ts from '@typescript-eslint/eslint-plugin'; -import tsParser from '@typescript-eslint/parser'; -import globals from 'globals'; +import prettier from "eslint-plugin-prettier/recommended"; +import js from "@eslint/js"; +import ts from "@typescript-eslint/eslint-plugin"; +import tsParser from "@typescript-eslint/parser"; +import globals from "globals"; export default [ { - files: ['**/*.ts'], + files: ["**/*.ts"], languageOptions: { globals: { ...globals.browser, @@ -14,22 +14,22 @@ export default [ }, parser: tsParser, parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module', - project: './tsconfig.json', + ecmaVersion: "latest", + sourceType: "module", + project: "./tsconfig.json", }, }, plugins: { - '@typescript-eslint': ts, + "@typescript-eslint": ts, }, rules: { ...ts.configs.recommended.rules, - '@typescript-eslint/no-unused-vars': 'error', - '@typescript-eslint/no-explicit-any': 'warn', + "@typescript-eslint/no-unused-vars": "error", + "@typescript-eslint/no-explicit-any": "warn", }, }, { - files: ['**/*.js'], + files: ["**/*.js"], languageOptions: { globals: { ...globals.browser, |