diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-23 22:14:44 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-23 22:17:09 +0100 |
| commit | aeb9ecadf80fd50290571071311877b39c80e962 (patch) | |
| tree | b9a5cbe979fbd4fb14c97b00534b6918df6b0d85 /eslint.config.mjs | |
Initial implementation1.0.0
Diffstat (limited to 'eslint.config.mjs')
| -rw-r--r-- | eslint.config.mjs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..852d23e --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,26 @@ +import js from "@eslint/js"; +import { defineConfig } from "eslint/config"; +import prettier from "eslint-config-prettier/flat"; +import globals from "globals"; + +export default defineConfig([ + js.configs.recommended, + { + files: ["**/*.js"], + plugins: { + js, + }, + extends: [js.configs.recommended, prettier], + rules: { + "no-unused-vars": "warn", + }, + languageOptions: { + globals: { + ...globals.node, + ...globals.browser, + ...globals.jquery, + wiki: 'readable', + }, + }, + }, +]); |