eslint-config-iplayer-legacy
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "eslint-config-iplayer-legacy", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Eslint config for iPlayer legacy JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,2 @@ # eslint-config-iplayer-legacy | ||
## Notable rule exceptions | ||
* 2-space indentation is only set as a warning | ||
* Warns when cyclomatic complex exceeds 5 | ||
@@ -9,0 +8,0 @@ * 'use strict' is only set as a warning |
@@ -8,13 +8,2 @@ 'use strict'; | ||
complexity: [1, 5], | ||
// indenting is only set as a warning | ||
// http://eslint.org/docs/rules/indent | ||
indent: [ | ||
1, | ||
2, | ||
{ | ||
SwitchCase: 1, | ||
VariableDeclarator: 1, | ||
MemberExpression: 1 | ||
} | ||
], | ||
// allows var | ||
@@ -21,0 +10,0 @@ // https://eslint.org/docs/rules/no-var |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
4183
7
79
26