Sha256: 655d80f1ab35d6ce042c5d22cfafaf6c6c99c5d4c4d3cf16a93c9b2e03f1524e

Contents?: true

Size: 925 Bytes

Versions: 5

Compression:

Stored size: 925 Bytes

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": {
    "Opal": "readonly",
    "DataView": "readonly",
    "ArrayBuffer": "readonly",
    "globalThis": "readonly",
    "Uint8Array": "readonly",
    "Promise": "readonly",
  }
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-1.3.2 .eslintrc.js
opal-1.3.1 .eslintrc.js
opal-1.3.0 .eslintrc.js
opal-1.3.0.rc1 .eslintrc.js
opal-1.3.0.alpha1 .eslintrc.js