reformat with prettier,add react frontend submodule

This commit is contained in:
2018-06-03 12:47:23 +03:00
parent 38688491f9
commit bbee6b2b95
16 changed files with 255 additions and 58 deletions

View File

@@ -1,6 +1,6 @@
{
"extends": ["airbnb-base", "plugin:jest/recommended"],
"plugins": ["jest"],
"extends": ["airbnb-base", "plugin:jest/recommended", "prettier"],
"plugins": ["jest", "prettier"],
"rules": {
"linebreak-style": "off",
"no-unused-expressions": [
@@ -9,8 +9,17 @@
"allowTernary": true
}
],
"no-console": "off",
"no-underscore-dangle": ["warn", { "allow": ["_id"] }],
"prettier/prettier": "error",
"no-console": "warn",
"no-underscore-dangle": [
"warn",
{
"allow": ["_id"]
}
],
"func-names": "off"
},
"env": {
"node": true
}
}