eslint-config-walmart
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -11,4 +11,5 @@ "use strict"; | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
"max-nested-callbacks": 0, | ||
"no-magic-numbers": 0 | ||
} | ||
}; |
@@ -17,4 +17,5 @@ "use strict"; | ||
"max-nested-callbacks": 0, | ||
"no-unused-expressions": 0 | ||
"no-unused-expressions": 0, | ||
"no-magic-numbers": 0 | ||
} | ||
}; |
@@ -10,4 +10,5 @@ "use strict"; | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
"max-nested-callbacks": 0, | ||
"no-magic-numbers": 0 | ||
} | ||
}; |
@@ -10,4 +10,5 @@ "use strict"; | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
"max-nested-callbacks": 0, | ||
"no-magic-numbers": 0 | ||
} | ||
}; |
{ | ||
"name": "eslint-config-walmart", | ||
"description": "A set of default eslint configurations, Walmart Labs style.", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"author": "Eric Baer <me@ericbaer.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/walmartlabs/eslint-config-walmart", |
@@ -25,8 +25,16 @@ <h1 align="center">eslint-config-walmart</h1> | ||
Install this config package and ESLint: | ||
1. Install this config package and ESLint: | ||
```bash | ||
$ npm install --save-dev eslint eslint-config-walmart | ||
``` | ||
```bash | ||
$ npm install --save-dev eslint eslint-config-walmart | ||
``` | ||
2. Then, install any additional dependencies required by your configuration. (See | ||
[Dependencies](#dependencies) section below.) | ||
e.g. | ||
```bash | ||
$ npm install --save-dev eslint-plugin-filenames babel-eslint | ||
``` | ||
## Usage | ||
@@ -33,0 +41,0 @@ |
@@ -72,3 +72,3 @@ "use strict"; | ||
// disallow the use of magic numbers | ||
"no-magic-numbers": 2, | ||
"no-magic-numbers": [2, {"ignore": [-1, 0, 1]}], | ||
// disallow use of multiple spaces | ||
@@ -75,0 +75,0 @@ "no-multi-spaces": 2, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63726
1342
122
1