From 1c9377ec696c1f8269bf30a7af1e4a9566d55625 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 20 Jul 2024 14:05:47 +0200 Subject: update eslint, ts-for-gir --- gjs/eslint.config.mjs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gjs/eslint.config.mjs (limited to 'gjs/eslint.config.mjs') diff --git a/gjs/eslint.config.mjs b/gjs/eslint.config.mjs new file mode 100644 index 0000000..99dad7d --- /dev/null +++ b/gjs/eslint.config.mjs @@ -0,0 +1,18 @@ +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", + }, +}) -- cgit v1.2.3