eslint-config-dvpnt
Advanced tools
Comparing version 1.6.0 to 2.0.0-alpha.0
18
base.js
@@ -1,6 +0,8 @@ | ||
'use strict'; | ||
module.exports = { | ||
'env': { | ||
'es6': true | ||
}, | ||
module.exports = { | ||
'rules': { | ||
'strict': ['error', 'global'], | ||
'strict': ['error', 'never'], | ||
@@ -26,5 +28,3 @@ // Possible Errors | ||
'dot-location': ['error', 'property'], | ||
'dot-notation': ['error', { | ||
'allowKeywords': false | ||
}], | ||
'dot-notation': 'error', | ||
'eqeqeq': ['error', 'smart'], | ||
@@ -78,3 +78,5 @@ 'guard-for-in': 'error', | ||
'SwitchCase': 1, | ||
'VariableDeclarator': 1 | ||
'VariableDeclarator': 1, | ||
'MemberExpression': 1, | ||
'ArrayExpression': 'first' | ||
}], | ||
@@ -92,3 +94,3 @@ 'max-len': ['error', { | ||
'maxBOF': 0, | ||
'maxEOF': 1 | ||
'maxEOF': 0 | ||
}], | ||
@@ -95,0 +97,0 @@ 'camelcase': ['error', { |
10
index.js
@@ -1,8 +0,14 @@ | ||
'use strict'; | ||
module.exports = { | ||
'extends': './base.js', | ||
'parserOptions': { | ||
'ecmaVersion': 2017 | ||
}, | ||
'env': { | ||
'node': true | ||
}, | ||
'rules': { | ||
'no-await-in-loop': 'error', | ||
'no-return-await': 'error', | ||
'require-await': 'error' | ||
} | ||
}; |
@@ -1,3 +0,1 @@ | ||
'use strict'; | ||
module.exports = { | ||
@@ -4,0 +2,0 @@ 'extends': './base.js', |
{ | ||
"name": "eslint-config-dvpnt", | ||
"version": "1.6.0", | ||
"version": "2.0.0-alpha.0", | ||
"description": "eslint config for dvpnt projects", | ||
@@ -17,4 +17,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"eslint": ">=3.19.0" | ||
"eslint": ">=4.5.0" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
5199
188
2