Skip to content

style: enable strict eslint rule #100

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

Merged
merged 1 commit into from
Feb 10, 2018
Merged

style: enable strict eslint rule #100

merged 1 commit into from
Feb 10, 2018

Conversation

macklinu
Copy link
Contributor

https://eslint.org/docs/rules/strict

'use strict' is necessary in Node 4 to support block-scoped declarations (let, const).

https://eslint.org/docs/rules/strict

'use strict' is necessary in Node 4 to support block-scoped
declarations (let, const).
@macklinu macklinu merged commit 1882cc3 into master Feb 10, 2018
@macklinu macklinu deleted the lint/strict branch February 10, 2018 16:12
macklinu added a commit that referenced this pull request Feb 10, 2018
https://eslint.org/docs/rules/prefer-const

let and const better communicate if a variable is reassigned, and it is
possible to use them in all files since 'use strict' is enabled (#100).
macklinu added a commit that referenced this pull request Feb 10, 2018
https://eslint.org/docs/rules/prefer-const

let and const better communicate if a variable is reassigned, and it is
possible to use them in all files since 'use strict' is enabled (#100).
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

Successfully merging this pull request may close these issues.

1 participant