github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/build-blockchain-insurance-app-master/web/.eslintrc (about)

     1  {
     2    "parser": "babel-eslint",
     3    "extends": [
     4      "eslint:recommended",
     5      "plugin:import/errors",
     6      "plugin:import/warnings"
     7    ],
     8    "plugins": [
     9      "react",
    10      "async-await"
    11    ],
    12    "parserOptions": {
    13      "ecmaVersion": 8,
    14      "sourceType": "module",
    15      "ecmaFeatures": {
    16        "classes": true,
    17        "impliedStrict": true,
    18        "jsx": true
    19      }
    20    },
    21    "env": {
    22      "es6": true,
    23      "browser": true,
    24      "node": true,
    25      "jquery": true,
    26      "mocha": true
    27    },
    28    "rules": {
    29      "quotes": "off",
    30      "no-console": "off",
    31      "no-debugger": "warn",
    32      "no-var": "warn",
    33      "no-constant-condition": "off",
    34      "semi": [
    35        "warn",
    36        "always"
    37      ],
    38      "no-trailing-spaces": "off",
    39      "eol-last": "off",
    40      "no-unused-vars": "off",
    41      "no-underscore-dangle": "off",
    42      "no-alert": "off",
    43      "no-lone-blocks": "off",
    44      "jsx-quotes": [
    45        "warn",
    46        "prefer-single"
    47      ],
    48      "react/display-name": [
    49        "warn",
    50        {
    51          "ignoreTranspilerName": false
    52        }
    53      ],
    54      "react/forbid-prop-types": [
    55        "warn",
    56        {
    57          "forbid": [
    58            "any"
    59          ]
    60        }
    61      ],
    62      "react/jsx-boolean-value": "warn",
    63      "react/jsx-closing-bracket-location": "off",
    64      "react/jsx-curly-spacing": "warn",
    65      "react/jsx-indent-props": "off",
    66      "react/jsx-key": "warn",
    67      "react/jsx-max-props-per-line": "off",
    68      "react/jsx-no-bind": [
    69        "warn",
    70        {
    71          "ignoreRefs": true
    72        }
    73      ],
    74      "react/jsx-no-duplicate-props": "warn",
    75      "react/jsx-no-literals": "off",
    76      "react/jsx-no-undef": "warn",
    77      "react/jsx-pascal-case": "warn",
    78      "react/jsx-sort-prop-types": "off",
    79      "react/jsx-sort-props": "off",
    80      "react/jsx-uses-react": "warn",
    81      "react/jsx-uses-vars": "warn",
    82      "react/no-danger": "warn",
    83      "react/no-did-mount-set-state": "warn",
    84      "react/no-did-update-set-state": "warn",
    85      "react/no-direct-mutation-state": "warn",
    86      "react/no-multi-comp": "warn",
    87      "react/no-set-state": "off",
    88      "react/no-unknown-property": "warn",
    89      "react/prefer-es6-class": "warn",
    90      "react/prop-types": "warn",
    91      "react/react-in-jsx-scope": "warn",
    92      "react/self-closing-comp": "warn",
    93      "react/sort-comp": "warn",
    94      "async-await/space-after-async": "error",
    95      "async-await/space-after-await": "error"
    96    }
    97  }