Sha256: 824cc8945a22b04c9ccc75753046135d30b0101d3779906cad6f22067ce9be7d

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

module.exports = {
  "env": {
    "browser": true,
    "node": true
  },
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": 3
  },
  "rules": {
    "no-unused-vars": ["error", {
      "varsIgnorePattern": "(\$(\$|\$\$|yield|post_args|[a-z])|self)",
      "argsIgnorePattern": "(\$(\$|\$\$|yield|post_args|[a-z])|self)",
    }],
    "no-extra-semi": "off",
    "no-empty": "off",
    "no-unreachable": "off",
    "no-cond-assign": "off",
    "no-prototype-builtins": "off",
    "no-constant-condition": ["error", { "checkLoops": false }],
    "no-useless-escape": "off",
    "no-fallthrough": ["error", { "commentPattern": "raise|no-break" }],
    "no-regex-spaces": "off",
    "no-control-regex": "off",
  },
  "globals": {
    "ArrayBuffer": "readonly",
    "DataView": "readonly",
    "globalThis": "readonly",
    "Opal": "readonly",
    "Promise": "readonly",
    "Proxy": "readonly",
    "Reflect": "readonly",
    "Uint8Array": "readonly",
    "Int32Array": "readonly",
    "WeakRef": "readonly",
    "Map": "readonly",
  }
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 .eslintrc.js
opal-1.8.2 .eslintrc.js
opal-1.8.1 .eslintrc.js
opal-1.8.0 .eslintrc.js
opal-1.8.0.beta1 .eslintrc.js