---
# This file configures ESLint to work with the newest ES 2015 syntax and features
extends: ./known-errors.yml

env:
  node: true
  es6: true

parserOptions:
  ecmaVersion: 6

---
# This file configures ESLint to work with the newest ES 2015 syntax and features
extends: ./known-errors.yml

env:
  node: true
  es6: true

parserOptions:
  ecmaVersion: 6

rules:
  # ESLint no longer supports disabling some still unsuported ES 2015 features, so we need to use
  # this rule to disable that syntax
  no-restricted-syntax:
    - 2
    # Rest parameters (not to be confused with rest arguments)
    - RestElement
    # Default function parameters
    - AssignmentPattern
    # Destructuring assignment
    - ObjectPattern
    # Experimental object/rest spread
    - ExperimentalRestProperty

Add rule to detect unsupported language features
Add rule to detect unsupported language features
