Socket
Socket
Sign inDemoInstall

@metamask/eslint-config-typescript

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 8.0.0 to 9.0.0

7

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [9.0.0]
### Added
- **BREAKING** Add JSDoc ESLint rules ([#203](https://github.com/MetaMask/eslint-config/pull/203))
## [8.0.0]

@@ -45,3 +49,4 @@

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v8.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...HEAD
[9.0.0]: https://github.com/MetaMask/eslint-config/compare/v8.0.0...v9.0.0
[8.0.0]: https://github.com/MetaMask/eslint-config/compare/v7.0.1...v8.0.0

@@ -48,0 +53,0 @@ [7.0.1]: https://github.com/MetaMask/eslint-config/compare/v7.0.0...v7.0.1

6

package.json
{
"name": "@metamask/eslint-config-typescript",
"version": "8.0.0",
"version": "9.0.0",
"description": "Shareable MetaMask ESLint config for TypeScript.",

@@ -30,3 +30,3 @@ "main": "src/index.js",

"devDependencies": {
"@metamask/eslint-config": "^8.0.0",
"@metamask/eslint-config": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.20.0",

@@ -38,3 +38,3 @@ "@typescript-eslint/parser": "^4.20.0",

"peerDependencies": {
"@metamask/eslint-config": "^8.0.0",
"@metamask/eslint-config": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.20.0",

@@ -41,0 +41,0 @@ "@typescript-eslint/parser": "^4.20.0",

@@ -9,4 +9,4 @@ # `@metamask/eslint-config-typescript`

yarn add --dev \
@metamask/eslint-config@^7.0.0 \
@metamask/eslint-config-typescript@^7.0.0 \
@metamask/eslint-config@^9.0.0 \
@metamask/eslint-config-typescript@^9.0.0 \
@typescript-eslint/eslint-plugin@^4.20.0 \

@@ -17,2 +17,3 @@ @typescript-eslint/parser@^4.20.0 \

eslint-plugin-import@^2.22.1 \
eslint-plugin-jsdoc@^36.1.0 \
eslint-plugin-prettier@^3.3.1 \

@@ -19,0 +20,0 @@ prettier@^2.2.1

@@ -20,3 +20,3 @@ module.exports = {

plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint', 'jsdoc'],

@@ -64,2 +64,5 @@ extends: [

'no-throw-literal': 'off',
'@typescript-eslint/no-throw-literal': 'error',
'no-unused-expressions': 'off',

@@ -76,3 +79,20 @@ '@typescript-eslint/no-unused-expressions': [

'@typescript-eslint/no-useless-constructor': 'error',
/* jsdoc plugin rules */
'jsdoc/check-syntax': 'error',
// This is enabled here rather than in the base config because it doesn't play nicely with
// multi-line JSDoc types.
'jsdoc/check-indentation': 'error',
// Use TypeScript types rather than JSDoc types.
'jsdoc/no-types': 'error',
// These all conflict with `jsdoc/no-types`.
'jsdoc/require-param-type': 'off',
'jsdoc/require-property-type': 'off',
'jsdoc/require-returns-type': 'off',
'jsdoc/valid-types': 'off',
},
};
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