Update .eslintrc-webapp.json with webapp-v4.10.0

This commit is contained in:
Yuya Ochiai
2018-05-30 00:27:25 +09:00
parent 521891ef0b
commit ba31b50404
3 changed files with 9 additions and 3 deletions

View File

@@ -13,7 +13,8 @@
"parser": "babel-eslint",
"plugins": [
"react",
"import"
"import",
"header"
],
"env": {
"browser": true,
@@ -64,6 +65,7 @@
"generator-star-spacing": [2, {"before": false, "after": true}],
"global-require": 2,
"guard-for-in": 2,
"header/header": [2, "line", " Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n See LICENSE.txt for license information."],
"id-blacklist": 0,
"import/no-unresolved": 2,
"import/order": ["error", {"newlines-between": "always-and-inside-groups", "groups": ["builtin", "external", ["internal", "parent"], "sibling", "index"]}],
@@ -75,7 +77,6 @@
"linebreak-style": 2,
"lines-around-comment": [2, { "beforeBlockComment": true, "beforeLineComment": true, "allowBlockStart": true, "allowBlockEnd": true }],
"max-lines": [1, {"max": 450, "skipBlankLines": true, "skipComments": false}],
"max-nested-callbacks": [1, {"max":1}],
"max-nested-callbacks": [2, {"max":2}],
"max-statements-per-line": [2, {"max": 1}],
"multiline-ternary": [1, "never"],
@@ -251,7 +252,7 @@
"react/no-unused-prop-types": [1, {"skipShapeProps": true}],
"react/prefer-es6-class": 2,
"react/prefer-stateless-function": 0,
"react/prop-types": [2, { "ignore": ["match", "location", "history", "component"] }],
"react/prop-types": [2, { "ignore": ["location", "history", "component"] }],
"react/require-default-props": 0,
"react/require-optimization": 1,
"react/require-render-return": 2,