Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
add prettier hook to staging
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Dec 23, 2017
1 parent 89e6523 commit e9ee77e
Show file tree
Hide file tree
Showing 3 changed files with 1,459 additions and 88 deletions.
16 changes: 7 additions & 9 deletions .eslintrc
@@ -1,5 +1,5 @@
{
"plugins": ["react", "standard"],
"plugins": ["react", "standard", "prefer-object-spread"],
"globals": {
"expect": true
},
Expand All @@ -19,17 +19,15 @@
"jquery": true,
"node": true,
"es6": true,
"browser": true
"browser": true,
"jest": true
},
"rules": {
"no-debugger": 1,
"no-console": 1,
"prefer-object-spread/prefer-object-spread": 2,
"no-case-declarations": 0,
"no-var": 1,
"array-bracket-spacing": [1, "always"], // space inside brackets
"object-curly-spacing": [1, "always"], // I like space inside braces
"comma-dangle": [1, "always-multiline"], // I like commas at the end
"react/jsx-no-duplicate-props": 1,
"array-bracket-spacing": [2, "always"], // space inside brackets
"object-curly-spacing": [2, "always"], // space inside braces
"comma-dangle": [2, "always-multiline"],
"react/prop-types": 0,
"react/no-find-dom-node": 1,
"react/react-in-jsx-scope": 2
Expand Down

0 comments on commit e9ee77e

Please sign in to comment.