standard
Advanced tools
Comparing version 6.0.2 to 6.0.3
var eslint = require('eslint') | ||
var extend = require('xtend') | ||
var pkg = require('./package.json') | ||
var configStandard = require('eslint-config-standard') | ||
var configStandardJsx = require('eslint-config-standard-jsx') | ||
var config = extend(configStandard) | ||
config.plugins.push.apply(config.plugins, configStandardJsx.plugins) | ||
Object.keys(configStandardJsx.rules).forEach(function (key) { | ||
config.rules[key] = configStandardJsx.rules[key] | ||
}) | ||
module.exports = { | ||
@@ -12,7 +23,5 @@ eslint: eslint, | ||
eslintConfig: { | ||
baseConfig: { | ||
'extends': ['eslint-config-standard', 'eslint-config-standard-jsx'] | ||
} | ||
baseConfig: config | ||
}, | ||
formatter: 'Formatting is no longer included with standard. Install it separately: "npm install -g standard-format"' | ||
} |
{ | ||
"name": "standard", | ||
"description": "JavaScript Standard Style", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"author": { | ||
@@ -21,3 +21,4 @@ "email": "feross@feross.org", | ||
"eslint-plugin-standard": "^1.3.1", | ||
"standard-engine": "^3.2.0" | ||
"standard-engine": "^3.2.0", | ||
"xtend": "^4.0.1" | ||
}, | ||
@@ -24,0 +25,0 @@ "devDependencies": { |
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
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
47597
177
8
+ Addedxtend@^4.0.1