handsontable/formula-parser

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "parser": "babel-eslint",
  "extends": "airbnb-base",
  "env": {
    "browser": true,
    "node": true
  },
  "globals": {},
  "rules": {
    "class-methods-use-this": 0,
    "no-undef": 0,
    "new-cap": 2,
    "newline-per-chained-call": 1,
    "no-eq-null": 1,
    "no-irregular-whitespace": 2,
    "no-mixed-spaces-and-tabs": 2,
    "no-multi-str": 2,
    "no-multiple-empty-lines": 2,
    "no-new": 2,
    "no-param-reassign": 0,
    "no-plusplus": 0,
    "no-restricted-properties": 0,
    "no-restricted-syntax": 1,
    "no-shadow": 1,
    "no-spaced-func": 2,
    "no-trailing-spaces": 2,
    "no-underscore-dangle": 0,
    "no-unused-vars": 1,
    "no-void": 0,
    "no-with": 2,
    "object-curly-spacing": 0,
    "object-shorthand": 1,
    "padded-blocks": 0,
    "prefer-arrow-callback": 1,
    "prefer-const": 0,
    "prefer-rest-params": 1,
    "prefer-spread": 1,
    "prefer-template": 1,
    "space-infix-ops": 2,
    "arrow-body-style": [
      2,
      "as-needed"
    ],
    "camelcase": [
      2,
      {
        "properties": "never"
      }
    ],
    "curly": [
      2,
      "all"
    ],
    "no-mixed-operators": [
      2,
      "groups": [
        ["+", "-", "*", "/", "%", "**"]
      ]
    ],
    "arrow-parens": [
      2,
      "always",
      {
        "requireForBlockBody": true
      }
    ],
    "no-unneeded-ternary": [
      2,
      {
        "defaultAssignment": true
      }
    ],
    "no-confusing-arrow": [
      2,
      {
        "allowParens": true
      }
    ],
    "no-console": [
      2,
      {
        "allow": ["error", "warn", "info"]
      }
    ],
    "indent": [
      2,
      2,
      {
        "SwitchCase": 1
      }
    ],
    "comma-style": [
      2,
      "last"
    ],
    "max-depth": [
      2,
      5
    ],
    "max-len": [
      2,
      {
        "code": 150,
        "ignoreComments": true
      }
    ],
    "space-before-function-paren": [
      2,
      {
        "anonymous": "ignore",
        "named": "never"
      }
    ],
    "array-bracket-spacing": [
      2,
      "never",
      {}
    ],
    "space-in-parens": [
      2,
      "never"
    ],
    "quote-props": [
      2,
      "as-needed"
    ],
    "key-spacing": [
      2,
      {
        "beforeColon": false,
        "afterColon": true
      }
    ],
    "space-unary-ops": [
      2,
      {
        "words": false,
        "nonwords": false
      }
    ],
    "yoda": [
      2,
      "never"
    ],
    "brace-style": [
      2,
      "1tbs",
      {
        "allowSingleLine": true
      }
    ],
    "comma-spacing": [
      2,
      {
        "after": true,
        "before": false
      }
    ],
    "semi-spacing": [
      2,
      {
        "before": false,
        "after": true
      }
    ],
    "space-before-blocks": [
      2,
      "always"
    ],
    "keyword-spacing": [
      2,
      {}
    ],
    "semi": [
      2,
      "always"
    ],
    "quotes": [
      2,
      "single"
    ]
  }
}