eslint-config-xo-typescript
Advanced tools
Comparing version 0.35.0 to 0.36.0
11
index.js
@@ -82,2 +82,7 @@ 'use strict'; | ||
'[]': 'Don\'t use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.', | ||
'[[]]': 'Don\'t use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.', | ||
'[[[]]]': 'Don\'t use `[[[]]]`. Use `SomeType[][][]` instead.', | ||
'[[[[]]]]': 'ur drunk 🤡', | ||
'[[[[[]]]]]': '🦄💥', | ||
Omit: 'Prefer the `Except` type in the `type-fest` package instead as it\'s stricter.' | ||
@@ -389,2 +394,3 @@ } | ||
'@typescript-eslint/no-unnecessary-type-assertion': 'error', | ||
'@typescript-eslint/no-unnecessary-type-constraint': 'error', | ||
@@ -434,3 +440,4 @@ // TODO: Enable these again when we can use ESM natively in Node.js. These rules cause problems with syntax like `import x = require('x');` | ||
// { | ||
// checkParameterProperties: true | ||
// checkParameterProperties: true, | ||
// ignoreInferredTypes: true | ||
// } | ||
@@ -481,2 +488,4 @@ // ], | ||
], | ||
'space-infix-ops': 'off', | ||
'@typescript-eslint/space-infix-ops': 'error', | ||
semi: 'off', | ||
@@ -483,0 +492,0 @@ '@typescript-eslint/semi': [ |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.35.0", | ||
"version": "0.36.0", | ||
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo", | ||
@@ -47,4 +47,4 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.4.0", | ||
"@typescript-eslint/parser": "^4.4.0", | ||
"@typescript-eslint/eslint-plugin": "^4.6.0", | ||
"@typescript-eslint/parser": "^4.6.0", | ||
"ava": "^2.4.0", | ||
@@ -56,3 +56,3 @@ "eslint": "^7.8.1", | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": ">=4.4.0", | ||
"@typescript-eslint/eslint-plugin": ">=4.6.0", | ||
"eslint": ">=7.8.0", | ||
@@ -59,0 +59,0 @@ "typescript": ">=3.6.0" |
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
21472
522