eslint-config-xo-typescript
Advanced tools
Comparing version 0.41.1 to 0.42.0
14
index.js
@@ -107,3 +107,3 @@ 'use strict'; | ||
'error', | ||
'never' | ||
'always-multiline' | ||
], | ||
@@ -371,3 +371,7 @@ 'comma-spacing': 'off', | ||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error', | ||
'@typescript-eslint/no-non-null-assertion': 'error', | ||
// Disabled for now. There are just too many places where you need to use it because of incorrect types, for example, the Node.js types. | ||
// TODO: Try to enable this again in 2023. | ||
// '@typescript-eslint/no-non-null-assertion': 'error', | ||
'no-redeclare': 'off', | ||
@@ -400,3 +404,7 @@ '@typescript-eslint/no-redeclare': 'error', | ||
'@typescript-eslint/no-unnecessary-type-constraint': 'error', | ||
'@typescript-eslint/no-unsafe-argument': '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-assignment': 'error', | ||
@@ -403,0 +411,0 @@ '@typescript-eslint/no-unsafe-call': 'error', |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.41.1", | ||
"version": "0.42.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
21430
544