diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-12 16:48:43 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-14 12:36:48 +0200 |
| commit | de62a5da0225b79fcf2460727bb7d765f8be2426 (patch) | |
| tree | 042c7cf1ee26f333df2081e711dc99ba6b599bae /eslint.config.js | |
Initial implementation
Diffstat (limited to 'eslint.config.js')
| -rw-r--r-- | eslint.config.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..852d23e --- /dev/null +++ b/eslint.config.js @@ -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', + }, + }, + }, +]); |