eslint-config-xo-typescript
Advanced tools
Comparing version 0.18.0 to 0.19.0
15
index.js
@@ -5,2 +5,3 @@ 'use strict'; | ||
parserOptions: { | ||
warnOnUnsupportedTypeScriptVersion: false, | ||
sourceType: 'module', | ||
@@ -225,2 +226,3 @@ jsx: true, | ||
], | ||
'@typescript-eslint/no-unnecessary-condition': 'error', | ||
'@typescript-eslint/no-unnecessary-qualifier': 'error', | ||
@@ -263,4 +265,7 @@ '@typescript-eslint/no-unnecessary-type-arguments': 'error', | ||
'@typescript-eslint/require-array-sort-compare': 'error', | ||
'require-await': 'off', | ||
'@typescript-eslint/require-await': 'error', | ||
// Disabled for now. It's too buggy. It fails to detect when try/catch is used, await inside blocks, etc. It's also common to have async functions without await for various reasons. | ||
// 'require-await': 'off', | ||
// '@typescript-eslint/require-await': 'error', | ||
semi: 'off', | ||
@@ -271,2 +276,8 @@ '@typescript-eslint/semi': [ | ||
], | ||
'@typescript-eslint/strict-boolean-expressions': [ | ||
'error', | ||
{ | ||
allowNullable: true | ||
} | ||
], | ||
'@typescript-eslint/triple-slash-reference': [ | ||
@@ -273,0 +284,0 @@ 'error', |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo", | ||
@@ -45,11 +45,11 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.2.0", | ||
"@typescript-eslint/parser": "^2.2.0", | ||
"ava": "^2.3.0", | ||
"eslint": "^6.3.0", | ||
"@typescript-eslint/eslint-plugin": "^2.3.0", | ||
"@typescript-eslint/parser": "^2.3.0", | ||
"ava": "^2.4.0", | ||
"eslint": "^6.4.0", | ||
"temp-write": "^4.0.0", | ||
"typescript": "^3.6.2" | ||
"typescript": "^3.6.3" | ||
}, | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": ">=2.2.0", | ||
"@typescript-eslint/eslint-plugin": ">=2.3.0", | ||
"eslint": ">=5.16.0", | ||
@@ -56,0 +56,0 @@ "typescript": ">=3.5.3" |
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
11700
289