Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Not compatible with latest airbnb ruleset #10534

Closed
mikeerickson opened this issue Jun 27, 2018 · 2 comments
Closed

WARNING: Not compatible with latest airbnb ruleset #10534

mikeerickson opened this issue Jun 27, 2018 · 2 comments
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion triage An ESLint team member will look at this issue soon

Comments

@mikeerickson
Copy link

Tell us about your environment

  • ESLint Version:

5.0.1

  • Node Version:

10.4.1

  • npm Version:

6.1.0

What parser (default, Babel-ESLint, etc.) are you using?

"extends": [
    "eslint:recommended",
    "airbnb-base"
],

Please show your full configuration:

{
    "env": {
        "browser": true,
        "commonjs": true,
        "es6": true
    },
    "extends": [
        "eslint:recommended",
        "airbnb-base"
    ],
    "parserOptions": {
        "sourceType": "module"
    },
    "rules": {
        "indent": [
            "error",
            2
        ],
        "linebreak-style": [
            "error",
            "unix"
        ],
        "no-console": 0,
        "no-undef": 0
    }
}

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

/node_modules/.bin/eslint 'resources/assets/js/**/*.js'


What did you expect to happen?

Did not expect to see warning

What actually happened? Please include the actual, raw output from ESLint.

(node:89840) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "airbnb-base")
@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Jun 27, 2018
@not-an-aardvark
Copy link
Member

Thanks for the report. It's known that eslint-config-airbnb doesn't yet support ESLint v5 -- follow airbnb/javascript#1834 for more details.

@mikeerickson
Copy link
Author

Yes, I have since downgraded to ESLint 4.x, but figured it was worth noting her for other users who might not be aware of this issue

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Dec 25, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Dec 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion triage An ESLint team member will look at this issue soon
Projects
None yet
Development

No branches or pull requests

2 participants