Sha256: 9e492c1fc9cebc101a04f4f60210fa566b6631309ecb6eb2e5fb9900276223b0

Contents?: true

Size: 952 Bytes

Versions: 3

Compression:

Stored size: 952 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",
    "WeakRef": "readonly",
  }
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-1.4.1 .eslintrc.js
opal-1.4.0 .eslintrc.js
opal-1.4.0.alpha1 .eslintrc.js