diff --git a/index.js b/index.js index 81f0dc1..e9848d1 100644 --- a/index.js +++ b/index.js @@ -81,13 +81,18 @@ module.exports = { { files: ["*.ts", "*.tsx"], parserOptions: { - project: "./tseslint.json", + project: './tsconfig.eslint.json', }, - plugins: ["react", "@typescript-eslint"], - extends: ["plugin:@typescript-eslint/recommended-type-checked"], + extends: [ + "eslint:recommended", + "plugin:@typescript-eslint/strict-type-checked", + "plugin:@typescript-eslint/stylistic-type-checked" + ], rules: { ...baseRules, ...{ + "@typescript-eslint/no-unsafe-type-assertion": "error", + "@typescript-eslint/no-inferrable-types": "off", "react/style-prop-object": "error", "react/require-default-props": "off" } diff --git a/package.json b/package.json index 1102e92..86594a0 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "repository": "git@github.com:ibexa/eslint-config-ibexa.git", "private": true, "dependencies": { - "@typescript-eslint/eslint-plugin": "8.10.0", - "@typescript-eslint/parser": "8.10.0", + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", "typescript": "5.6.3", "eslint": "8.55", "eslint-plugin-react": "7.33.2",