github.com/replicatedhq/ship@v0.55.0/web/init/.eslintrc (about)

     1  {
     2    "extends": [
     3      "eslint:recommended",
     4      "plugin:react/recommended"
     5    ],
     6    "parser": "babel-eslint",
     7    "parserOptions": {
     8      "ecmaVersion": 2017,
     9      "ecmaFeatures": {
    10        "jsx": true
    11      },
    12      "sourceType": "module"
    13    },
    14    "env": {
    15      "browser": true,
    16      "node": true,
    17      "es6": true
    18    },
    19    "plugins": [
    20      "react"
    21    ],
    22    "rules": {
    23      "quotes": ["error", "double", { "allowTemplateLiterals": true }],
    24      "indent": ["error", 2],
    25      "no-console": ["warn"],
    26      "no-mixed-spaces-and-tabs": ["error"],
    27      "jsx-quotes": ["error", "prefer-double"],
    28      "no-case-declarations": [0],
    29      "no-constant-condition": ["warn"],
    30      "react/prop-types": [0, { "skipUndeclared": true}],
    31      "react/no-unescaped-entities": [0],
    32      "react/no-string-refs": [1],
    33      "react/no-find-dom-node": [1]
    34    }
    35  }