redbrick/static-site

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "extends": "standard",
  "env": {
    "es6": true,
    "node": true,
    "jest": true
  },
  "rules": {
    "no-multi-spaces": 0,
    "comma-dangle": [
      "error",
      "always-multiline"
    ],
    "key-spacing": [
      "error",
      {
        "multiLine": {
          "beforeColon": false,
          "afterColon": true
        },
        "align": {
          "beforeColon": false,
          "afterColon": true,
          "on": "colon",
          "mode": "strict"
        }
      }
    ],
    "semi": [
      "error",
      "always"
    ],
    "no-var": [
      "error"
    ],
    'prefer-arrow-callback': [
      'error', {
        'allowNamedFunctions': true,
      },
    ],
    "prefer-const": [
      "error",
      {
        "destructuring": "any",
        "ignoreReadBeforeAssign": false
      }
    ]
  }
}