Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

fix #58 - disable eslint strict rule in load-reps.js #59

Merged

Conversation

juliandescottes
Copy link
Member

We can either disable as proposed here or modify the copy-assets script to add "use strict" dynamically in load-reps.

This PR also adds a "use strict" in test head file.

Weirdly eslint src/**/*.js ignores files in src/test/ . See eslint/eslint#1663 (comment)
I don't want to "fix" this here because head.js is full of eslint errors when checked against this repo's rules.

A more robust eslint approach here would be to have all files supposed to be copied to mc in a subfolder, with a dedicated .eslint rc that could set the env (and certain rules) to be inline with mc.

@juliandescottes
Copy link
Member Author

Thanks for the review Nicolas!

@juliandescottes juliandescottes merged commit 37892b0 into firefox-devtools:master Jan 30, 2017
@nchevobbe
Copy link
Member

Sure : Don't hesitate to put me as a reviewer on PR so I know I can merge them if they look good to me :)

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

Successfully merging this pull request may close these issues.

2 participants