/* eslint sort-keys: ["error", "asc"], quote-props: ["error", "consistent"] */
/* eslint-disable sort-keys */

module.exports = {
    env: {
        mocha: true
    },
    rules: {
        /* eslint-enable sort-keys */
        // In order to make mocks more condensed, single line blocks are allowed in tests
        "brace-style": ["error", "1tbs", { allowSingleLine: true }],
        // mocha blocks are nested all the way down
        "max-nested-callbacks": "off",
        // In case the fp rules are used
        "max-statements": "off",
        // Can increase the readability of a test if simple mocking functions are in one line
        "max-statements-per-line": ["error", { max: 2 }],
        // In case the fp rules are used, we need to relax them again
        "no-restricted-syntax": ["error",
            "WithStatement", // deprecated
        ], // http://eslint.org/docs/rules/no-restricted-syntax
        // Sometimes it's necessary to check for undefined explicitly
        "no-undefined": "off",
        // chai uses these as assertions
        "no-unused-expressions": "off",
        // mocha blocks tend to be more readable with padding
        "padded-blocks": "off"
    }
};

@@ -152,14 +152,34 @@
 cha:
+ true,%0A        jest:
  true%0A
-
     
@@ -486,82 +486,8 @@
 f%22,%0A
-        // In case the fp rules are used%0A        %22max-statements%22: %22off%22,%0A
     
@@ -638,227 +638,8 @@
 %7D%5D,%0A
-        // In case the fp rules are used, we need to relax them again%0A        %22no-restricted-syntax%22: %5B%22error%22,%0A            %22WithStatement%22, // deprecated%0A        %5D, // http://eslint.org/docs/rules/no-restricted-syntax%0A
     
@@ -776,16 +776,16 @@
 ertions%0A
+
         
@@ -812,102 +812,8 @@
 ns%22:
- %22off%22,%0A        // mocha blocks tend to be more readable with padding%0A        %22padded-blocks%22:
  %22of

Refactor tests rules