summaryrefslogtreecommitdiff
path: root/src/rules/javascript/default.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/javascript/default.json')
-rw-r--r--src/rules/javascript/default.json44
1 files changed, 20 insertions, 24 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 3014de5..0ec323c 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -2,7 +2,8 @@
"array-callback-return": [
"error",
{
- "allowImplicit": false
+ "allowImplicit": false,
+ "checkForEach": true
}
],
"arrow-parens": [
@@ -23,9 +24,6 @@
"allowSingleLine": false
}
],
- "callback-return": [
- "warn"
- ],
"camelcase": [
"error",
{
@@ -53,10 +51,7 @@
],
"comma-style": [
"error",
- "last",
- {
- "exceptions": {}
- }
+ "last"
],
"curly": [
"error",
@@ -80,9 +75,6 @@
"error",
"consistent"
],
- "handle-callback-err": [
- "error"
- ],
"id-length": [
"warn",
{
@@ -114,7 +106,7 @@
"VariableDeclarator": 1,
"flatTernaryExpressions": true,
"ignoreComments": false,
- "ignoredNodes": [],
+ "offsetTernaryExpressions": true,
"outerIIFEBody": 1
}
],
@@ -330,9 +322,6 @@
"no-new-func": [
"error"
],
- "no-new-require": [
- "error"
- ],
"no-new-wrappers": [
"error"
],
@@ -345,12 +334,6 @@
"props": true
}
],
- "no-path-concat": [
- "error"
- ],
- "no-process-env": [
- "off"
- ],
"no-proto": [
"error"
],
@@ -469,9 +452,22 @@
"object-curly-newline": [
"error",
{
- "consistent": true,
- "minProperties": 5,
- "multiline": true
+ "ExportDeclaration": {
+ "consistent": true,
+ "minProperties": 5,
+ "multiline": true
+ },
+ "ImportDeclaration": "never",
+ "ObjectExpression": {
+ "consistent": true,
+ "minProperties": 5,
+ "multiline": true
+ },
+ "ObjectPattern": {
+ "consistent": true,
+ "minProperties": 5,
+ "multiline": true
+ }
}
],
"object-curly-spacing": [