Socket
Socket
Sign inDemoInstall

eslint-config-xo-typescript

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-xo-typescript - npm Package Compare versions

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': [

8

package.json
{
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc