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

Create example of using eslint to ensure Firefox compatibility #117

Closed
kumar303 opened this issue Oct 21, 2016 · 1 comment
Closed

Create example of using eslint to ensure Firefox compatibility #117

kumar303 opened this issue Oct 21, 2016 · 1 comment

Comments

@kumar303
Copy link
Contributor

kumar303 commented Oct 21, 2016

Firefox supports most of ES6 but not all of it. For example, it doesn't support the import statement at the time of this writing.

Let's create an example of an extension that is configured with eslint to make sure that its code uses only JavaScript that is supported by Firefox. This example extension would not use a transpiler on the code.

I think there are some pre-configured lint rules to use, such as https://www.npmjs.com/package/eslint-plugin-mozilla

iampeterbanjo added a commit to iampeterbanjo/webextensions-examples that referenced this issue Oct 30, 2016
@kumar303
Copy link
Contributor Author

kumar303 commented Dec 1, 2016

Thanks again for this @iampeterbanjo ! This landed in #128

@kumar303 kumar303 closed this as completed Dec 1, 2016
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

1 participant