eslint changes

This commit is contained in:
Seth Ladygo
2019-04-10 15:22:52 -07:00
parent f129b363c7
commit f044e939a9

View File

@ -11,9 +11,11 @@ module.exports = {
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"indent": ["warn", 2, { CallExpression: { arguments: "first" }, 'indent': ["warn", 2, { CallExpression: { arguments: "first" },
ObjectExpression: "first", ObjectExpression: "first",
ArrayExpression: "first" }] ArrayExpression: "first" }],
'comma-dangle': ['warn', 'only-multiline'],
'spaced-comment': 'off',
}, },
parserOptions: { parserOptions: {
parser: 'babel-eslint' parser: 'babel-eslint'