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

The keyword class is reserved. #73

Open
JPcastroforero99 opened this issue Nov 23, 2017 · 1 comment
Open

The keyword class is reserved. #73

JPcastroforero99 opened this issue Nov 23, 2017 · 1 comment

Comments

@JPcastroforero99
Copy link

Hi, im new in brackets and im working with phaser.js library.
When I try to make a class, brackets send me the message ESLint: The keyword class is reserved.

I need solve that problem fastly, please.

@zaggino
Copy link
Member

zaggino commented Dec 6, 2017

@JPcastroforero99 you need to specify in .eslintrc.js file that you are using ES6, for example:

module.exports = {
  parser: 'babel-eslint',
  extends: 'pureprofile',
  env: { es6: true, browser: true },
  rules: {
    'max-params': 0 // this is in conflict with how Angular handles imports so disable
  }
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants