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

eslint-config-piecioshka

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-piecioshka - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

README.md

8

package.json
{
"name": "eslint-config-piecioshka",
"version": "1.1.3",
"description": "ESLint (for v2.13.1) configuration of my style. Defined all rules.",
"version": "1.1.4",
"description": "ESLint (for v3.16.0) configuration of my style. Defined all rules.",
"license": "MIT",

@@ -9,3 +9,3 @@ "author": {

"email": "piecioshka@gmail.com",
"url": "piecioshka.pl"
"url": "http://piecioshka.pl"
},

@@ -46,2 +46,2 @@ "scripts": {

}
}
}

@@ -87,7 +87,7 @@ 'use strict';

// require `return` statements to either always or never specify values
"consistent-return": [2],
"consistent-return": [0],
// enforce consistent brace style for all control statements
"curly": [2],
// require `default` cases in `switch` statements
"default-case": [2],
"default-case": [1],
// enforce consistent newlines before and after dots

@@ -151,3 +151,3 @@ "dot-location": [2, "property"],

// disallow magic numbers
"no-magic-numbers": [2],
"no-magic-numbers": [1],
// disallow multiple spaces

@@ -207,3 +207,3 @@ "no-multi-spaces": [2],

// disallow `void` operators
"no-void": [2],
"no-void": [0],
// disallow specified warning terms in comments

@@ -238,3 +238,3 @@ "no-warning-comments": [1, {

// require or disallow initialization in `var` declarations
"init-declarations": [2, "always"],
"init-declarations": [1],
// disallow `catch` clause parameters from shadowing variables in the outer scope

@@ -251,3 +251,4 @@ "no-catch-shadow": [2],

"builtinGlobals": false,
"hoist": "functions"
"hoist": "functions",
"allow": []
}],

@@ -278,3 +279,3 @@ // disallow identifiers from shadowing restricted names

// require `return` statements after callbacks
"callback-return": [2, ["callback", "cb", "next"]],
"callback-return": [0],
// require `require()` calls to be placed at top-level module scope

@@ -366,4 +367,3 @@ "global-require": [2],

"lines-around-comment": [2, {
"beforeBlockComment": true,
"beforeLineComment": true
"beforeBlockComment": true
}],

@@ -373,6 +373,13 @@ // enforce a maximum depth that blocks can be nested

// enforce a maximum line length
"max-len": [2, 120, 4, {
"max-len": [2, {
"code": 80,
"tabWidth": 4,
"comments": 80,
"ignorePattern": "",
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignorePattern": ""
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}],

@@ -406,5 +413,5 @@ // enforce a maximum file length

// require or disallow an empty line after `var` declarations
"newline-after-var": [2, "always"],
"newline-after-var": [0],
// require an empty line before `return` statements
"newline-before-return": [2],
"newline-before-return": [0],
// require a newline after each call in a method chain

@@ -445,3 +452,3 @@ "newline-per-chained-call": [2, {

// disallow ternary operators
"no-ternary": [1],
"no-ternary": [0],
// disallow trailing whitespace at the end of lines

@@ -491,3 +498,3 @@ "no-trailing-spaces": [2, {

// require JSDoc comments
"require-jsdoc": [2],
"require-jsdoc": [1],
// require or disallow semicolons instead of ASI

@@ -494,0 +501,0 @@ "semi": [2, "always"],

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