aboutsummaryrefslogblamecommitdiffstats
path: root/library/cropperjs/.eslintrc
blob: 7ecbe0dc0c38f16e11291b3fb2fc5c053a82b039 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                           
               





                                      
















                                      
 
{
  "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"
      }
    }
  ]
}