diff options
Diffstat (limited to 'lang/gjs/eslint.config.mjs')
-rw-r--r-- | lang/gjs/eslint.config.mjs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gjs/eslint.config.mjs b/lang/gjs/eslint.config.mjs new file mode 100644 index 0000000..05e49ee --- /dev/null +++ b/lang/gjs/eslint.config.mjs @@ -0,0 +1,19 @@ +import eslint from "@eslint/js" +import tseslint from "typescript-eslint" +import stylistic from "@stylistic/eslint-plugin" + +export default tseslint.config({ + extends: [ + eslint.configs.recommended, + ...tseslint.configs.recommended, + stylistic.configs.customize({ + semi: false, + indent: 4, + quotes: "double", + }), + ], + rules: { + "@typescript-eslint/no-explicit-any": "off", + "@stylistic/new-parens": "off", + }, +}) |