diff --git a/.eslintrc b/.eslintrc index 0ca2c39b..d356388a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,6 +12,13 @@ env: globals: sjcl: false DOMPurify: false + after: true + before: true + cleanup: true + describe: false + it: false + jsc: false + jsdom: true # http://eslint.org/docs/rules/ rules: @@ -187,7 +194,9 @@ rules: operator-linebreak: 0 padded-blocks: 0 quote-props: 0 - quotes: 0 + quotes: + - error + - single require-jsdoc: 0 semi-spacing: 0 semi: 0 diff --git a/.jshintrc b/.jshintrc index a8569ca1..f6028b13 100644 --- a/.jshintrc +++ b/.jshintrc @@ -9,7 +9,7 @@ "latedef": "nofunc", "maxcomplexity": 25, "maxdepth": 3, - "maxparams": 3, + "maxparams": 4, "maxstatements": 100, "noarg": true, "nonbsp": true, @@ -25,9 +25,19 @@ "DOMPurify": false }, "predef": { + "after": true, + "before": true, "cleanup": true, + "describe": false, + "document": true, + "fs": false, + "global": true, + "exports": true, + "it": false, "jsc": false, - "jsdom": true + "jsdom": true, + "require": false, + "window": true } }