aboutsummaryrefslogtreecommitdiffstats
path: root/library/cropperjs/.eslintrc
blob: 7ecbe0dc0c38f16e11291b3fb2fc5c053a82b039 (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
{
  "extends": "airbnb-base",
  "env": {
    "browser": true
  },
  "root": true,
  "rules": {
    "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"
      }
    }
  ]
}