eslint-config-xo-typescript
Advanced tools
Comparing version 0.55.1 to 0.56.0
12
index.js
@@ -82,4 +82,6 @@ 'use strict'; | ||
sourceType: 'module', | ||
jsx: true, | ||
project: 'tsconfig.json' | ||
project: 'tsconfig.json', | ||
ecmaFeatures: { | ||
jsx: true | ||
} | ||
}, | ||
@@ -519,7 +521,3 @@ plugins: [ | ||
'@typescript-eslint/no-unnecessary-type-constraint': 'error', | ||
// Disabled for now. When using try/catch, the error is by default `any` and if you pass the error anywhere, it will trigger this rule. This is a very common occurence. | ||
// TODO: Enable this rule when TypeScript has more strongly typed errors, probably 2023 at the earliest. | ||
// '@typescript-eslint/no-unsafe-argument': 'error', | ||
'@typescript-eslint/no-unsafe-argument': 'error', | ||
'@typescript-eslint/no-unsafe-assignment': 'error', | ||
@@ -526,0 +524,0 @@ '@typescript-eslint/no-unsafe-call': 'error', |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.55.1", | ||
"version": "0.56.0", | ||
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25515