Sha256: 82a9f3f97dca7685b413af7d0c67bfaa18c0da120c2266762456149744ea4e3e

Contents?: true

Size: 669 Bytes

Versions: 9

Compression:

Stored size: 669 Bytes

Contents

module.exports = {
  env: {
    browser: true,
    es6: true,
  },
  extends: ["eslint:recommended", "prettier"],
  globals: {
    RailsApp: "writable",
    ActionCable: "readonly",
    Ext: "readonly",
    CodeMirror: "readonly"
  },
  parserOptions: {
    ecmaVersion: 6,
  },
  plugins: ["prettier"],
  rules: {
    "no-var": ["error"],
    "prefer-const": ["error"],
    "linebreak-style": ["error", "unix"],
    "quotes": [2, "double", { "avoidEscape": true }],
    "no-unused-vars": ["error", { "args": "after-used", "argsIgnorePattern": "^_" }],
    "object-shorthand": ["error", "always"],
    "no-constant-condition": ["error", { "checkLoops": false }]
  }
};

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
marty-11.0.0 .eslintrc.js
marty-10.0.3 .eslintrc.js
marty-10.0.2 .eslintrc.js
marty-10.0.0 .eslintrc.js
marty-9.5.1 .eslintrc.js
marty-9.5.0 .eslintrc.js
marty-9.3.3 .eslintrc.js
marty-9.3.2 .eslintrc.js
marty-9.3.0 .eslintrc.js