eslint-config-xo-typescript
Advanced tools
Comparing version 0.16.0 to 0.17.0
21
index.js
@@ -34,3 +34,5 @@ 'use strict'; | ||
'error', | ||
'array-simple' | ||
{ | ||
default: 'array-simple' | ||
} | ||
], | ||
@@ -81,2 +83,10 @@ '@typescript-eslint/await-thenable': 'error', | ||
'@typescript-eslint/consistent-type-assertions': [ | ||
'error', | ||
{ | ||
assertionStyle: 'as', | ||
objectLiteralTypeAssertions: 'allow-as-parameter' | ||
} | ||
], | ||
// Disabled because it's not fully usable yet: | ||
@@ -137,3 +147,2 @@ // https://github.com/typescript-eslint/typescript-eslint/issues/142 | ||
'@typescript-eslint/member-ordering': 'error', | ||
'@typescript-eslint/no-angle-bracket-type-assertion': 'error', | ||
'no-array-constructor': 'off', | ||
@@ -193,9 +202,2 @@ '@typescript-eslint/no-array-constructor': 'error', | ||
'@typescript-eslint/no-object-literal-type-assertion': [ | ||
'error', | ||
{ | ||
allowAsParameter: true | ||
} | ||
], | ||
// TODO: Enable this again when I target ESM output in all my TypeScript projects | ||
@@ -211,2 +213,3 @@ // '@typescript-eslint/no-require-imports': 'error', | ||
'@typescript-eslint/no-unnecessary-qualifier': 'error', | ||
'@typescript-eslint/no-unnecessary-type-arguments': 'error', | ||
'@typescript-eslint/no-unnecessary-type-assertion': 'error', | ||
@@ -213,0 +216,0 @@ 'no-unused-vars': 'off', |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo", | ||
@@ -45,6 +45,6 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^1.13.0", | ||
"@typescript-eslint/parser": "^1.13.0", | ||
"ava": "^2.2.0", | ||
"eslint": "^6.1.0", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"ava": "^2.3.0", | ||
"eslint": "^6.2.0", | ||
"temp-write": "^4.0.0", | ||
@@ -51,0 +51,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
10550
261