Socket
Socket
Sign inDemoInstall

eslint-config-xo-typescript

Package Overview
Dependencies
Maintainers
3
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.18.0 to 0.19.0

15

index.js

@@ -5,2 +5,3 @@ 'use strict';

parserOptions: {
warnOnUnsupportedTypeScriptVersion: false,
sourceType: 'module',

@@ -225,2 +226,3 @@ jsx: true,

],
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',

@@ -263,4 +265,7 @@ '@typescript-eslint/no-unnecessary-type-arguments': 'error',

'@typescript-eslint/require-array-sort-compare': 'error',
'require-await': 'off',
'@typescript-eslint/require-await': 'error',
// Disabled for now. It's too buggy. It fails to detect when try/catch is used, await inside blocks, etc. It's also common to have async functions without await for various reasons.
// 'require-await': 'off',
// '@typescript-eslint/require-await': 'error',
semi: 'off',

@@ -271,2 +276,8 @@ '@typescript-eslint/semi': [

],
'@typescript-eslint/strict-boolean-expressions': [
'error',
{
allowNullable: true
}
],
'@typescript-eslint/triple-slash-reference': [

@@ -273,0 +284,0 @@ 'error',

14

package.json
{
"name": "eslint-config-xo-typescript",
"version": "0.18.0",
"version": "0.19.0",
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo",

@@ -45,11 +45,11 @@ "license": "MIT",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"ava": "^2.3.0",
"eslint": "^6.3.0",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"ava": "^2.4.0",
"eslint": "^6.4.0",
"temp-write": "^4.0.0",
"typescript": "^3.6.2"
"typescript": "^3.6.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=2.2.0",
"@typescript-eslint/eslint-plugin": ">=2.3.0",
"eslint": ">=5.16.0",

@@ -56,0 +56,0 @@ "typescript": ">=3.5.3"

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