eslint-config-airbnb
Advanced tools
Comparing version 0.0.1 to 0.0.2
12
index.js
@@ -1,1 +0,11 @@ | ||
module.exports = require('airbnb-style/linters/.eslintrc'); | ||
var resolve = require('resolve'); | ||
var stripComments = require('strip-json-comments'); | ||
var fs = require('fs'); | ||
// you could do this all at once if you wanted to look cool | ||
var filename = resolve.sync('airbnb-style/linters/.eslintrc'); | ||
var data = fs.readFileSync(filename, {encoding: 'utf-8'}); | ||
var dataWithoutComments = stripComments(data); | ||
var parsed = JSON.parse(dataWithoutComments); | ||
module.exports = parsed; |
{ | ||
"name": "eslint-config-airbnb", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Airbnb's ESLint config, following our styleguide", | ||
@@ -30,4 +30,6 @@ "main": "index.js", | ||
"eslint": "0.21.2", | ||
"eslint-plugin-react": "2.3.0" | ||
"eslint-plugin-react": "2.3.0", | ||
"resolve": "1.1.6", | ||
"strip-json-comments": "1.0.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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1241
9
6
1
+ Addedresolve@1.1.6
+ Addedstrip-json-comments@1.0.2
+ Addedresolve@1.1.6(transitive)
+ Addedstrip-json-comments@1.0.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedresolve@1.22.8(transitive)
- Removedstrip-json-comments@1.0.4(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)