The Overflow Blog I really don't understand why I have theses errors. Embed Share Find adventures nearby or in faraway places and access unique homes, experiences, and places around the world. All gists Back to GitHub. Three dots would do the trick. Stack Overflow works best with JavaScript enabled Learn more about clone URLs Sign in Sign up Instantly share code, notes, and snippets. Viewed 6k times 3. 0: deep destructuring is not compatible https://github.com/eslint/eslint/issues/1863// specify the maximum cyclomatic complexity allowed in a program (off by default)// require return statements to either always or never specify values// specify curly brace conventions for all control statements// require default case in switch statements (off by default)// encourages use of dot notation whenever possible// make sure for-in loops have an if statement (off by default)// disallow use of arguments.caller or arguments.callee// disallow division operators explicitly at beginning of regular expression (off by default)// disallow else after a return in an if (off by default)// disallow use of labels for anything other then loops and switches// disallow comparisons to null without a type-checking operator (off by default)// disallow the use of leading or trailing decimal points in numeric literals (off by default)// disallow use of new operator when not part of the assignment or comparison// disallow use of new operator for Function object// disallows creating new instances of String,Number, and Boolean// disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251";// disallow reassignment of function parameters (off by default)// disallow declaring the same variable more then once// disallow comparisons where both sides are exactly the same (off by default)// restrict what can be thrown as an exception (off by default)// disallow usage of expressions in statement position// disallow usage of configurable warning terms in comments": 2, // e.g. 0: required by `babel-eslint`// These rules have to do with variable declarations.// disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment)// disallow labels that share a name with a variable// disallow declaration of variables already declared in the outer scope// disallow use of undeclared variables unless mentioned in a /*global */ block// disallow use of undefined when initializing variables// disallow use of undefined variable (off by default)// disallow declaration of variables that are not used in the code// disallow use of variables before they are defined// These rules are purely matters of style and are quite subjective.// this option sets a specific tab width for your code (off by default)// enforces consistent naming when capturing the current execution context (off by default)// enforce newline at the end of file, with no multiple empty lines// require function expressions to have a name (off by default)// enforces use of function declarations or expressions (off by default)// enforces spacing between keys and values in object literal properties// specify the maximum depth callbacks can be nested (off by default)// disallow the omission of parentheses when invoking a constructor with no arguments// allow/disallow an empty newline after var statement (off by default)// disallow comments inline after code (off by default)// disallow if as the only statement in an else block (off by default)// disallow nested ternary expressions (off by default)// disallow space between function identifier and application// disallow the use of ternary operators (off by default)// disallow trailing whitespace at the end of lines// disallow wrapping of non-IIFE statements in parens// allow just one var statement per function (off by default)// require assignment operator shorthand where possible or prohibit it entirely (off by default)// require quotes around object literal property names (off by default)// specify whether double or single quotes should be used// require or disallow use of semicolons instead of ASI// sort variables within the same declaration block (off by default)// require a space after certain keywords (off by default)// require or disallow space before blocks (off by default)// require or disallow space before function opening parenthesis (off by default)// require or disallow spaces inside brackets (off by default)// require or disallow spaces inside parentheses (off by default)// Require or disallow spaces before/after unary operators (words on by default, nonwords off by default)// require or disallow a space immediately following the // in a line comment (off by default)// require regex literals to be wrapped in parentheses (off by default)// These rules are only relevant to ES6 environments and are off by default.// require let or const instead of var (off by default)// enforce the spacing around the * in generator functions (off by default)// The following rules are included for compatibility with JSHint and JSLint.// While the names of the rules may not match up with the JSHint/JSLint counterpart,// specify the maximum depth that blocks can be nested (off by default)// specify the maximum length of a line in your program (off by default)// limits the number of parameters that can be used in the function declaration.