diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-22 11:29:53 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-22 11:54:50 +0100 |
| commit | f29b392c6b68b7db98f5d6921ea588b559435f35 (patch) | |
| tree | 4b475215124ddc5efca8fa70cee49b9e67529abf /eslint.config.js | |
Initial implementation1.0.0
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', + }, + }, + }, +]); |