guidesmiths/generator-systemic

View on GitHub
generators/app/templates/root/_.eslintrc.json

Summary

Maintainability
Test Coverage
{
  "extends": "airbnb-base",
  "parserOptions": {
    "sourceType": "module",
    "allowImportExportEverywhere": false,
    "ecmaVersion": 2018
  },
  "env": {
    "mocha": true,
    "es6": true,
    "node": true
  },
  "rules": {
    "indent": 2,
    "no-tabs": 0,
    "max-len": 0,
    "no-underscore-dangle": 0,
    "class-methods-use-this": ["off"],
    "no-nested-ternary": ["off"],
    "quotes": ["error", "single"],
    "linebreak-style": ["error", "unix"],
    "semi": ["error", "always"],
    "object-curly-newline": ["error", { "consistent": true }],
    "no-use-before-define": [
      "error",
      {
        "functions": false,
        "classes": false
      }
    ],
    "arrow-parens": [
      "error",
      "as-needed",
      {
        "requireForBlockBody": false
      }
    ]
  }
}