Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
matplotlib / backends / web_backend / .eslintrc.js
Size: Mime:
module.exports = {
  root: true,
  ignorePatterns: ["jquery-ui-*/", "node_modules/"],
  env: {
    browser: true,
    jquery: true,
  },
  extends: ["eslint:recommended", "prettier"],
  globals: {
    IPython: "readonly",
    MozWebSocket: "readonly",
  },
  rules: {
    indent: ["error", 2, { SwitchCase: 1 }],
    "no-unused-vars": [
      "error",
      {
        argsIgnorePattern: "^_",
      },
    ],
    quotes: ["error", "double", { avoidEscape: true }],
  },
  overrides: [
    {
      files: "js/**/*.js",
      rules: {
        indent: ["error", 4, { SwitchCase: 1 }],
        quotes: ["error", "single", { avoidEscape: true }],
      },
    },
  ],
};