mahaplatform/reframe

View on GitHub
.eslintrc.json

Summary

Maintainability
Test Coverage
{
  "parser": "babel-eslint",
  "env": {
    "browser": true,
    "commonjs": true,
    "es6": true,
    "mocha": true
  },
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended"
  ],
  "parserOptions": {
    "ecmaVersion": 8,
    "ecmaFeatures": {
      "classes": true,
      "experimentalObjectRestSpread": true,
      "jsx": true
    },
    "sourceType": "module"
  },
  "plugins": [
    "react"
  ],
  "globals": {
    "Buffer": true,
    "__dirname": true,
    "process": true,
    "before": true,
    "after": true
   },
  "rules": {
    "strict": 0,
    "comma-dangle": [
      2,
      "never"
    ],
    "indent": [
      "error",
      2
    ],
    "linebreak-style": [
      "error",
      "unix"
    ],
    "no-case-declarations": "off",
    "no-class-assign": "off",
    "no-unused-vars": [
      "error",
      {
        "vars": "all",
        "args": "none"
      }
    ],
    "quotes": [
      "error",
      "single"
    ],
    "react/jsx-uses-react":  "error",
    "react/jsx-uses-vars":  "error",
    "react/display-name": "off",
    "semi": [
      "error",
      "never"
    ]
  }
}