Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
JSON files: Update indentations and spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzikri Aziz committed Jan 13, 2017
1 parent e9a52e5 commit 38cf0b5
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 67 deletions.
98 changes: 49 additions & 49 deletions app/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
{
"extends": "humanmade",
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"forOf": true,
"jsx": true,
"es6": true
}
},
"rules": {
"comma-dangle": 0,
"computed-property-spacing": ["error", "always" ],
"indent": [ "error", "tab", {"SwitchCase": 1} ],
"key-spacing": ["error", { "align": "value" }],
"no-extra-parens": ["error", "functions" ],
"no-continue": 0,
"no-multi-spaces": ["error", { "exceptions": {
"VariableDeclarator": true,
"AssignmentExpression": true
}}],
"no-prototype-builtins": 0,
"space-in-parens": ["error", "always", { "exceptions": ["{}"] } ],
"space-unary-ops": ["warn", {
"words": true,
"nonwords": true,
"overrides": {
"++": false
}
}],
"yoda": ["error", "always"],
"react/forbid-prop-types": 1,
"react/jsx-boolean-value": 0,
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-curly-spacing": ["error", "always"],
"react/require-extension": 0
},
"settings": {
"import/extensions": ["js", "jsx"],
"import/resolver": {
"webpack": {
"config": "webpack/webpack.config.dev-client.js"
}
}
}
"extends": "humanmade",
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"forOf": true,
"jsx": true,
"es6": true
}
},
"rules": {
"comma-dangle": 0,
"computed-property-spacing": ["error", "always" ],
"indent": [ "error", "tab", {"SwitchCase": 1} ],
"key-spacing": ["error", { "align": "value" }],
"no-extra-parens": ["error", "functions" ],
"no-continue": 0,
"no-multi-spaces": ["error", { "exceptions": {
"VariableDeclarator": true,
"AssignmentExpression": true
}}],
"no-prototype-builtins": 0,
"space-in-parens": ["error", "always", { "exceptions": ["{}"] } ],
"space-unary-ops": ["warn", {
"words": true,
"nonwords": true,
"overrides": {
"++": false
}
}],
"yoda": ["error", "always"],
"react/forbid-prop-types": 1,
"react/jsx-boolean-value": 0,
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-curly-spacing": ["error", "always"],
"react/require-extension": 0
},
"settings": {
"import/extensions": ["js", "jsx"],
"import/resolver": {
"webpack": {
"config": "webpack/webpack.config.dev-client.js"
}
}
}
}
16 changes: 8 additions & 8 deletions process.json-dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"apps" : [{
"name" : "minnie",
"script" : "server/index.js",
"watch" : true,
"env": {
"NODE_ENV" : "production"
}
}]
"apps": [{
"name": "minnie",
"script": "server/index.js",
"watch": true,
"env": {
"NODE_ENV": "production"
}
}]
}
20 changes: 10 additions & 10 deletions webpack/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"extends": "eslint:recommended",
"env": {
"node": true
},
"rules": {
"comma-dangle": 0,
"indent": [ "error", "tab", { "SwitchCase": 1 }],
"semi": [ "error", "always" ],
"space-in-parens": [ "error", "always", { "exceptions": ["{}", "[]"] }]
}
"extends": "eslint:recommended",
"env": {
"node": true
},
"rules": {
"comma-dangle": 0,
"indent": [ "error", "tab", { "SwitchCase": 1 }],
"semi": [ "error", "always" ],
"space-in-parens": [ "error", "always", { "exceptions": ["{}", "[]"] }]
}
}

0 comments on commit 38cf0b5

Please sign in to comment.