eslint-config-xo-typescript
Advanced tools
Comparing version 0.40.0 to 0.41.0
26
index.js
@@ -368,6 +368,3 @@ 'use strict'; | ||
], | ||
// TODO: Enable this again when I target ESM output in all my TypeScript projects | ||
// '@typescript-eslint/no-namespace': 'error', | ||
'@typescript-eslint/no-namespace': 'error', | ||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error', | ||
@@ -377,6 +374,3 @@ '@typescript-eslint/no-non-null-assertion': 'error', | ||
'@typescript-eslint/no-redeclare': 'error', | ||
// TODO: Enable this again when I target ESM output in all my TypeScript projects | ||
// '@typescript-eslint/no-require-imports': 'error', | ||
'@typescript-eslint/no-require-imports': 'error', | ||
'@typescript-eslint/no-this-alias': [ | ||
@@ -407,9 +401,6 @@ 'error', | ||
'@typescript-eslint/no-unsafe-argument': 'error', | ||
// TODO: Enable these again when we can use ESM natively in Node.js. These rules cause problems with syntax like `import x = require('x');` | ||
// '@typescript-eslint/no-unsafe-assignment': 'error', | ||
// '@typescript-eslint/no-unsafe-call': 'error', | ||
// '@typescript-eslint/no-unsafe-member-access': 'error', | ||
// '@typescript-eslint/no-unsafe-return': 'error', | ||
'@typescript-eslint/no-unsafe-assignment': 'error', | ||
'@typescript-eslint/no-unsafe-call': 'error', | ||
'@typescript-eslint/no-unsafe-member-access': 'error', | ||
'@typescript-eslint/no-unsafe-return': 'error', | ||
'no-unused-expressions': 'off', | ||
@@ -524,5 +515,4 @@ '@typescript-eslint/no-unused-expressions': 'error', | ||
path: 'never', | ||
// Cannot enable this until `@types/node` no longer has the `NodeJS` global | ||
// types: 'never' | ||
types: 'never', | ||
lib: 'never' | ||
} | ||
@@ -529,0 +519,0 @@ ], |
{ | ||
"name": "eslint-config-xo-typescript", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo", | ||
@@ -14,3 +14,3 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12" | ||
}, | ||
@@ -49,3 +49,3 @@ "scripts": { | ||
"@typescript-eslint/eslint-plugin": "^4.21.0", | ||
"@typescript-eslint/parser": "^4.21.0", | ||
"@typescript-eslint/parser": "^4.22.1", | ||
"ava": "^2.4.0", | ||
@@ -57,6 +57,6 @@ "eslint": "^7.8.1", | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": ">=4.21.0", | ||
"eslint": ">=7.8.0", | ||
"typescript": ">=3.6.0" | ||
"@typescript-eslint/eslint-plugin": ">=4.22.1", | ||
"eslint": ">=7.26.0", | ||
"typescript": ">=4" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # eslint-config-xo-typescript | ||
**This config assumes your project is [ESM](https://nodejs.org/api/esm.html).** | ||
## Install | ||
@@ -7,0 +9,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
68
20835
532