fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors * added a comment about weird formatting * style: use lodash get * fix: pass eslint + puglint + jest
This commit is contained in:
committed by
Nicolas Giard
parent
2142b5f674
commit
0f9ddf1e5d
11
package.json
11
package.json
@@ -236,6 +236,7 @@
|
||||
"i18next-localstorage-backend": "3.0.0",
|
||||
"i18next-xhr-backend": "3.0.1",
|
||||
"ignore-loader": "0.1.2",
|
||||
"jest": "24.8.0",
|
||||
"js-cookie": "2.2.0",
|
||||
"mini-css-extract-plugin": "0.8.0",
|
||||
"moment-duration-format": "2.3.2",
|
||||
@@ -343,9 +344,15 @@
|
||||
"requireSpaceAfterCodeOperator": true,
|
||||
"requireStrictEqualityOperators": true,
|
||||
"validateAttributeQuoteMarks": "'",
|
||||
"validateAttributeSeparator": ", ",
|
||||
"validateAttributeSeparator": { "separator": ", ", "multiLineSeparator": "\n " },
|
||||
"validateDivTags": true,
|
||||
"validateIndentation": 2
|
||||
"validateIndentation": 2,
|
||||
"excludeFiles": [
|
||||
"node_modules/**",
|
||||
"server/views/master.pug",
|
||||
"server/views/setup.pug",
|
||||
"server/views/legacy/master.pug"
|
||||
]
|
||||
},
|
||||
"collective": {
|
||||
"type": "opencollective",
|
||||
|
||||
Reference in New Issue
Block a user