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
2
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.1.1 to 2.2.0

168

.eslintrc.js

@@ -10,50 +10,13 @@ "use strict";

"rules": {
"no-alert": "error",
"no-array-constructor": "error",
"no-bitwise": "error",
"no-caller": "error",
"no-case-declarations": "error",
"no-catch-shadow": "error",
"no-class-assign": "error",
"no-cond-assign": "error",
"no-confusing-arrow": "error",
"no-console": "error",
"no-const-assign": "error",
"no-constant-condition": "error",
"no-continue": "off",
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
"no-div-regex": "off",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-else-return": "off",
"no-empty": "error",
"no-empty-character-class": "error",
"no-empty-function": "off",
"no-empty-pattern": "error",
"no-eq-null": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-boolean-cast": "error",
"no-extra-label": "error",
"no-extra-parens": "off",
"no-extra-semi": "error",
"no-fallthrough": "error",
"no-floating-decimal": "error",
"no-func-assign": "error",
"no-global-assign": "error",
"no-implicit-coercion": "off",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-inline-comments": "off",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-invalid-this": "error",
"no-irregular-whitespace": "error",
"no-iterator": "error",

@@ -64,32 +27,19 @@ "no-label-var": "error",

"no-lonely-if": "error",
"no-loop-func": "error",
"no-magic-numbers": "off",
"no-mixed-operators": "off",
"no-mixed-requires": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "off",
"no-multi-str": "error",
"no-multiple-empty-lines": "error",
"no-multiple-empty-lines": [
"error",
{ "max": 2 }
],
"no-native-reassign": "error",
"no-negated-condition": "off",
"no-negated-in-lhs": "error",
"no-nested-ternary": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-param-reassign": "off",
"no-path-concat": "error",
"no-plusplus": "off",
"no-process-env": "off",
"no-process-exit": "off",
"no-proto": "error",
"no-prototype-builtins": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-restricted-globals": "error",

@@ -101,7 +51,4 @@ "no-restricted-imports": "error",

"no-return-assign": "error",
"no-script-url": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-shadow": "off",
"no-shadow-restricted-names": "error",

@@ -111,20 +58,11 @@ "no-whitespace-before-property": "error",

"no-sparse-arrays": "error",
"no-sync": "off",
"no-tabs": "error",
"no-ternary": "off",
"no-trailing-spaces": "error",
"no-template-curly-in-string": "error",
"no-this-before-super": "error",
"no-throw-literal": "error",
"no-undef": "error",
"no-undef-init": "error",
"no-undefined": "off",
"no-unexpected-multiline": "error",
"no-underscore-dangle": "off",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-unused-vars": [

@@ -142,11 +80,7 @@ "error",

"no-useless-constructor": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-void": "error",
"no-var": "error",
"no-warning-comments": "off",
"no-with": "error",
"array-bracket-spacing": "off",
"array-callback-return": "error",
"arrow-body-style": "off",
"arrow-parens": [

@@ -166,14 +100,2 @@ "error",

"block-scoped-var": "error",
"block-spacing": [
"error",
"always"
],
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"callback-return": "off",
"camelcase": [

@@ -185,3 +107,2 @@ "error",

],
"class-methods-use-this": "off",
"comma-dangle": [

@@ -192,7 +113,2 @@ "error",

"comma-spacing": "off",
"comma-style": [
"error",
"last"
],
"complexity": "off",
"computed-property-spacing": [

@@ -202,11 +118,4 @@ "error",

],
"consistent-return": "off",
"consistent-this": "error",
"constructor-super": "error",
"curly": "error",
"default-case": "error",
"dot-location": [
"error",
"property"
],
"dot-notation": [

@@ -218,6 +127,3 @@ "error",

],
"eol-last": "error",
"eqeqeq": "error",
"func-call-spacing": "error",
"func-names": "off",
"func-style": [

@@ -231,27 +137,10 @@ "error",

"generator-star-spacing": "error",
"global-require": "off",
"guard-for-in": "error",
"handle-callback-err": "error",
"id-blacklist": "error",
"id-length": "off",
"id-match": "error",
"indent": "error",
"init-declarations": "off",
"indent": [ "error", 4 ],
"jsx-quotes": "error",
"key-spacing": "off",
"keyword-spacing": [
"error",
{
"after": true,
"before": true
}
],
"linebreak-style": [
"error",
"unix"
],
"line-comment-position": "off",
"lines-around-comment": "off",
"lines-around-directive": "error",
"max-depth": "off",
"max-len": [

@@ -264,7 +153,3 @@ "error",

],
"max-lines": "off",
"max-nested-callbacks": "error",
"max-params": "off",
"max-statements": "off",
"max-statements-per-line": "off",
"multiline-ternary": [

@@ -274,12 +159,2 @@ "error",

],
"new-cap": "error",
"new-parens": "error",
"newline-after-var": "off",
"newline-before-return": "off",
"newline-per-chained-call": "off",
"object-curly-newline": "off",
"object-curly-spacing": [
"error",
"always"
],
"object-property-newline": [

@@ -302,9 +177,5 @@ "error",

"operator-linebreak": "off",
"padded-blocks": "off",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prefer-numeric-literals": "error",
"prefer-reflect": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-template": "error",

@@ -317,17 +188,5 @@ "quote-props": "off",

],
"require-jsdoc": "off",
"require-yield": "error",
"rest-spread-spacing": "error",
"semi": "error",
"semi-spacing": [
"error",
{
"after": true,
"before": false
}
],
"sort-keys": "off",
"sort-imports": "error",
"sort-vars": "error",
"space-before-blocks": "error",
"space-before-function-paren": [

@@ -341,4 +200,2 @@ "error",

],
"space-infix-ops": "error",
"space-unary-ops": "error",
"spaced-comment": [

@@ -358,14 +215,4 @@ "error",

],
"use-isnan": "error",
"valid-jsdoc": "off",
"valid-typeof": "error",
"vars-on-top": "error",
"wrap-iife": "error",
"wrap-regex": "off",
"no-template-curly-in-string": "error",
"yield-star-spacing": "error",
"yoda": [
"error",
"never"
],

@@ -387,3 +234,3 @@ // https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules

"ecmaFeatures": {},
"extends": "eslint:recommended",
"extends": "wikimedia",
"settings": {

@@ -418,2 +265,1 @@ // https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-settings-alias-preference

};

4

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

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

"eslint": "^3.12.0",
"eslint-config-wikimedia": "^0.3.0",
"eslint-plugin-jsdoc": "^3.0.0",

@@ -33,2 +34,3 @@ "eslint-plugin-json": "^1.2.0"

"eslint": "^3.12.0",
"eslint-config-wikimedia": "^0.3.0",
"eslint-plugin-jsdoc": "^3.0.0",

@@ -35,0 +37,0 @@ "eslint-plugin-json": "^1.2.0",

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