From fafd9600dadaea8106679ece8b33baa604b3f6cf Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 14 Feb 2026 19:22:58 +0200 Subject: chore: update all devDependencies Also install prettier-plugin-organize-imports, and migrate eslint / husky configs to latest version --- eslint.config.mjs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 eslint.config.mjs (limited to 'eslint.config.mjs') diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..ff1fb13 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,26 @@ +import js from '@eslint/js'; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + { ignores: ['dist/**', 'demo/build/**', 'demo/dist/**'] }, + js.configs.recommended, + ...tseslint.configs.recommended, + eslintPluginPrettierRecommended, + { + files: ['**/*.ts'], + rules: { + '@typescript-eslint/explicit-function-return-type': 'off', + }, + }, + { + files: ['**/*.js'], + languageOptions: { + globals: { + __dirname: 'readonly', + module: 'readonly', + require: 'readonly', + }, + }, + }, +); -- cgit v1.2.3