Skip to content

Commit

Permalink
Update .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
sentivate authored Apr 27, 2019
1 parent 2a96066 commit 0bb17c7
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"es6": true,
"serviceworker": true
Expand All @@ -17,11 +16,15 @@
},
"rules": {
"object-curly-newline": ["error", {
"ObjectPattern": { "multiline": true },
"ImportDeclaration": "never",
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
"ObjectExpression": { "minProperties": 1 },
"ObjectPattern": "always",
"ImportDeclaration": "always",
"ExportDeclaration": "always"
}],
"object-property-newline": ["error", {
"allowMultiplePropertiesPerLine": false,
"allowAllPropertiesOnSameLine": false
}],
"object-property-newline": "error",
"no-return-await": "error",
"no-cond-assign": ["error", "always"],
"no-constant-condition": "error",
Expand Down Expand Up @@ -139,9 +142,7 @@
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": "error",
"camelcase": ["error", {
"properties": "always"
}],
"camelcase": "off",
"comma-spacing": ["error", {
"before": false,
"after": true
Expand Down Expand Up @@ -266,10 +267,7 @@
"prefer-spread": "error",
"prefer-template": "error",
"require-yield": "error",
"sort-keys": ["error", "asc", {
"caseSensitive": false,
"natural": false
}],
"sort-keys": "off",
"sort-imports": ["error", {
"ignoreCase": true,
"ignoreMemberSort": false,
Expand Down

0 comments on commit 0bb17c7

Please sign in to comment.