aboutsummaryrefslogtreecommitdiffstats
path: root/library/cropperjs/.eslintrc
blob: e1ee964d5d9318d1c7cf29c5341bf30f405753db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "root": true,
  "extends": "airbnb-base",
  "env": {
    "browser": true
  },
  "rules": {
    "import/no-extraneous-dependencies": "off",
    "no-param-reassign": "off",
    "no-restricted-properties": "off",
    "valid-jsdoc": ["error", {
      "requireReturn": false
    }]
  },
  "overrides": [
    {
      "files": "test/**/*.spec.js",
      "env": {
        "mocha": true
      },
      "globals": {
        "Cropper": true,
        "expect": true
      },
      "rules": {
        "no-new": "off",
        "no-unused-expressions": "off"
      }
    }
  ]
}