Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spotify/eslint-config-typescript

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spotify/eslint-config-typescript - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

20

CHANGELOG.md

@@ -6,2 +6,22 @@ # Change Log

# [8.0.0](https://github.com/spotify/web-scripts/compare/v7.0.2...v8.0.0) (2020-06-23)
### Features
* **eslint:** v7 ([55ebb7f](https://github.com/spotify/web-scripts/commit/55ebb7f402546e9c8d7c7372cafbd6f49f17790c))
* **typescript-eslint:** upgrade to latest to support type export syntax ([688324b](https://github.com/spotify/web-scripts/commit/688324b2702dbf393f058bed6fa55f26bce99bac))
* **typescript-eslint/eslint-plugin:** v3.4.0 ([195400a](https://github.com/spotify/web-scripts/commit/195400a6082a35db59544d39b156d09d470661c7))
### BREAKING CHANGES
* **eslint:** see release notes for eslint v7
* **typescript-eslint:** The camelcase rule was deprecated in typescript-eslint. I've tried to replace it
with an equivalent naming-convention rule config. I question if we should have this at all.
# [7.0.0](https://github.com/spotify/web-scripts/compare/v6.2.0...v7.0.0) (2020-04-28)

@@ -8,0 +28,0 @@

20

index.js

@@ -29,3 +29,21 @@ /*

camelcase: 'off',
'@typescript-eslint/camelcase': [2, { properties: 'never' }],
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'default',
format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
leadingUnderscore: 'allow',
},
{
selector: 'parameter',
format: ['camelCase'],
leadingUnderscore: 'allow',
},
{
selector: 'typeLike',
format: ['PascalCase'],
},
],
// indent interference fix.

@@ -32,0 +50,0 @@ indent: 'off',

12

package.json
{
"name": "@spotify/eslint-config-typescript",
"version": "7.0.0",
"version": "8.0.0",
"license": "Apache-2.0",

@@ -13,5 +13,5 @@ "description": "Spotify's ESLint config for TypeScript",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0"
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"eslint": "^7.3.1"
},

@@ -21,3 +21,3 @@ "peerDependencies": {

"@typescript-eslint/parser": ">=2",
"eslint": ">=6.x"
"eslint": ">=7.x"
},

@@ -30,3 +30,3 @@ "publishConfig": {

},
"gitHead": "5793686d099bc2e7f747c062d629d9309a91fa97"
"gitHead": "e30a1992ec0e6511e09d0a2bd8439fd9f7bb09b7"
}
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