'use strict';

var config = {
  "root": true,
  "extends": ["eslint:recommended", "prettier"],
  "plugins": [
      "node"
  ],
  "parserOptions": {
    "ecmaVersion": 2018
  },
  "env": {
    "node": true,
    "es2017": true
  },
  "rules": {
    "node/no-unsupported-features/es-syntax": [2, {"version": ">=0.10"}],
    "block-scoped-var": 2,
    "eqeqeq": [2, "smart"],
    "max-depth": [1, 3],
    "max-statements": [1, 30],
    "new-cap": 1,
    "no-extend-native": 2,
    "no-unused-vars": 1,
  },
  "ignorePatterns": [
    "coverage/**",
    "test/fixtures/**"
  ],
  "overrides": [
    {
      "files": ["test/**"],
      "env": {
        "mocha": true
      },
      "rules": {
        "max-len": 0,
        "max-statements": 0
      }
    }
  ]
};

module.exports = config;

@@ -288,32 +288,98 @@
 %22: %5B
-2, %7B%22version%22: %22%3E=0.10%22%7D
+%0A      2,%0A      %7B%0A        %22version%22: %22%3E=0.10%22,%0A        %22ignores%22: %5B%22classes%22%5D%0A      %7D%0A    
 %5D,%0A 

Allow class syntax (#19)