Sha256: f0fe635ef80ee89c7b17194a300b7785f3860af6bc92a9a669813bff22313889

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

module.exports = {
  env: {
    browser: true,
    es6: true
  },
  extends: ["eslint:recommended", "prettier"],
  globals: {
    RailsApp: "writable",
    ActionCable: "readonly",
    Ext: "readonly",
    CodeMirror: "readonly",
    module: "writable",
    process: "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

2 entries across 2 versions & 1 rubygems

Version Path
marty-14.0.0 .eslintrc.js
marty-13.0.2 .eslintrc.js