Sha256: 30e00c4668d4caa463b5dedab58b4e78496ee7741be35a2649ab595bdff2da80

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

module.exports = {
  extends: ["airbnb", "plugin:prettier/recommended"],
  rules: {
    "import/no-unresolved": "off",
    "import/no-extraneous-dependencies": "off",
    "import/extensions": "off",
    indent: ["error", 2]
  },
  env: {
    browser: true,
    node: true
  },
  overrides: [
    {
      files: ["test/**"],
      extends: ["plugin:jest/recommended", "plugin:jest/style"],
      rules: {
        "global-require": "off",
        "jest/prefer-called-with": "error",
        "jest/no-conditional-in-test": "error",
        "jest/no-test-return-statement": "error",
        "jest/prefer-expect-resolves": "error",
        "jest/require-to-throw-message": "error",
        "jest/require-top-level-describe": "error",
        "jest/prefer-hooks-on-top": "error",
        "jest/prefer-lowercase-title": [
          "error",
          { ignoreTopLevelDescribe: true }
        ],
        "jest/prefer-spy-on": "error",
        "jest/prefer-strict-equal": "error",
        "jest/prefer-todo": "error"
      }
    }
  ]
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shakapacker-8.0.2 .eslintrc.js
shakapacker-8.0.1 .eslintrc.js