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.34.0 to 0.34.1

36

index.js

@@ -397,14 +397,16 @@ 'use strict';

'@typescript-eslint/no-unused-expressions': 'error',
// Disabled as the `@typescript-eslint/no-unused-vars` rule is buggy and marks arguments in overloads as unused... For example: https://github.com/sindresorhus/pageres/blob/6785f65efb354da364da858dba4c192891629971/source/index.ts#L109
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
argsIgnorePattern: /^_/.source,
caughtErrors: 'all',
caughtErrorsIgnorePattern: /^_$/.source
}
],
// '@typescript-eslint/no-unused-vars': [
// 'error',
// {
// vars: 'all',
// args: 'after-used',
// ignoreRestSiblings: true,
// argsIgnorePattern: /^_/.source,
// caughtErrors: 'all',
// caughtErrorsIgnorePattern: /^_$/.source
// }
// ],

@@ -524,3 +526,13 @@ // Disabled for now as it's marked as experimental.

'no-redeclare': 'off'
}
},
overrides: [
{
files: [
'**/*.d.ts'
],
rules: {
'@typescript-eslint/no-unused-vars': 'off'
}
}
]
};
{
"name": "eslint-config-xo-typescript",
"version": "0.34.0",
"version": "0.34.1",
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo",

@@ -5,0 +5,0 @@ "license": "MIT",

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