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.7.0 to 0.8.0

25

index.js

@@ -14,4 +14,4 @@ 'use strict';

'import/resolver': {
'node': {
'extensions': [
node: {
extensions: [
'.js',

@@ -69,3 +69,3 @@ '.jsx',

fixWith: 'unknown'
},
}
// TODO: Enforce `undefined` over `null` here too?

@@ -75,3 +75,3 @@ }

],
'camelcase': 'off',
camelcase: 'off',
'@typescript-eslint/camelcase': [

@@ -81,3 +81,3 @@ 'error',

properties: 'always',
ignoreDestructuring: false,
ignoreDestructuring: false
}

@@ -137,2 +137,3 @@ ],

'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-inferrable-types': 'error',

@@ -152,6 +153,7 @@ '@typescript-eslint/no-misused-new': 'error',

],
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-this-alias': [
'error',
{
allowDestructuring: true,
allowDestructuring: true
}

@@ -187,5 +189,14 @@ ],

'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/type-annotation-spacing': 'error'
'@typescript-eslint/type-annotation-spacing': 'error',
// TypeScript supports these features
'prefer-object-spread': 'error',
'no-useless-catch': 'error',
// The rule is deprecated in ESLint and it doesn't fully make sense for TypeScript.
// TODO: Remove this when the rule is removed from XO.
'valid-jsdoc': 'off'
}
};
{
"name": "eslint-config-xo-typescript",
"version": "0.7.0",
"version": "0.8.0",
"description": "ESLint shareable config for TypeScript to be used with eslint-config-xo",

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

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^1.3.0",
"ava": "^1.2.0",
"eslint": "^5.13.0",
"temp-write": "^3.4.0",
"typescript": "^3.3.1"
"typescript": "^3.3.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=1.2.0",
"@typescript-eslint/eslint-plugin": ">=1.3.0",
"eslint": ">=5.13.0",
"typescript": ">=3.3.1"
"typescript": ">=3.3.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