New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-node-services

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-node-services - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

42

.eslintrc.js

@@ -8,3 +8,3 @@ "use strict";

},
"plugins": ["json"],
"plugins": ["jsdoc", "json"],
"rules": {

@@ -354,3 +354,11 @@ "no-alert": "error",

"never"
]
],
// https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules
"jsdoc/check-param-names": "warn",
"jsdoc/check-tag-names": "warn",
"jsdoc/check-types": "warn",
"jsdoc/newline-after-description": ["warn", "never"],
"jsdoc/require-param-type": "warn",
"jsdoc/require-returns-type": "warn"
},

@@ -364,4 +372,32 @@ "parserOptions": {

"ecmaFeatures": {},
"extends": "eslint:recommended"
"extends": "eslint:recommended",
"settings": {
// https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-settings-alias-preference
"jsdoc": {
// one synonym for each ambiguity listed: http://usejsdoc.org/#block-tags
"tagNamePreference": {
abstract: "virtual",
arg: "param",
argument: "param",
augments: "extends",
constructor: "class",
constant: "const",
defaultvalue: "default",
description: "desc",
host: "external",
fileoverview: "file",
overview: "file",
fires: "emits",
function: "func",
method: "func",
member: "var",
property: "prop",
returns: "return",
exception: "throws",
linkcode: "link",
linkplain: "link"
}
}
}
};

4

package.json
{
"name": "eslint-config-node-services",
"version": "2.0.2",
"version": "2.1.0",
"description": "ESLint configuration for Wikimedia node.js services",

@@ -27,2 +27,3 @@ "main": ".eslintrc.js",

"eslint": "^3.12.0",
"eslint-plugin-jsdoc": "^2.4.0",
"eslint-plugin-json": "^1.2.0"

@@ -32,2 +33,3 @@ },

"eslint": "^3.12.0",
"eslint-plugin-jsdoc": "^2.4.0",
"eslint-plugin-json": "^1.2.0",

@@ -34,0 +36,0 @@ "pre-commit": "^1.2.2"

@@ -11,3 +11,4 @@ # eslint-config-node-services

- [swagger-router](https://github.com/wikimedia/swagger-router)
- [service-template-node](https://github.com/wikimedia/service-template-node)
Please test any proposed changes to the config against all thouse repos to avoid breaking the builds.
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