diff --git a/build/prepare.js b/build/prepare.js index 2c599932f..655a41aa1 100644 --- a/build/prepare.js +++ b/build/prepare.js @@ -23,6 +23,7 @@ const compilerOptionsBase = { jsx: 'react-jsx', sourceMap: false, composite: true, + strict: false, strictBindCallApply: true, resolveJsonModule: true, experimentalDecorators: true, diff --git a/framework/eslint-config/base.mjs b/framework/eslint-config/base.mjs index c16f1b5cf..c5e55e179 100644 --- a/framework/eslint-config/base.mjs +++ b/framework/eslint-config/base.mjs @@ -57,6 +57,10 @@ const base = (option, ...args) => antfu( curly: ['error', 'multi-line'], 'default-param-last': 'off', 'dot-notation': 0, + + 'e18e/prefer-array-some': 'off', + 'e18e/prefer-array-to-sorted': 'off', + 'e18e/prefer-static-regex': 'off', 'eslint-comments/no-unlimited-disable': 'off', 'func-names': 0, 'function-call-argument-newline': 0, diff --git a/framework/eslint-config/package.json b/framework/eslint-config/package.json index 5e94f5d14..f03b21ec8 100644 --- a/framework/eslint-config/package.json +++ b/framework/eslint-config/package.json @@ -5,16 +5,16 @@ "main": "base.mjs", "repository": "https://github.com/hydro-dev/Hydro", "dependencies": { - "@antfu/eslint-config": "^7.6.1", - "@eslint-react/eslint-plugin": "^2.13.0", - "@typescript-eslint/eslint-plugin": "^8.56.1", - "@typescript-eslint/parser": "^8.56.1", - "eslint-plugin-de-morgan": "^2.0.0", + "@antfu/eslint-config": "^7.7.3", + "@eslint-react/eslint-plugin": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^8.57.2", + "@typescript-eslint/parser": "^8.57.2", + "eslint-plugin-de-morgan": "^2.1.1", "eslint-plugin-github": "^6.0.0", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.5.2", "eslint-plugin-simple-import-sort": "^12.1.1", - "globals": "^17.3.0" + "globals": "^17.4.0" }, "peerDependencies": { "eslint": ">= 9"