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

Add ESLint eqeqeq rule to JSONata #41

Merged
merged 1 commit into from
Feb 23, 2017
Merged

Conversation

blgm
Copy link
Contributor

@blgm blgm commented Feb 22, 2017

JSONata mostly uses === and equivalent operators instead of the == operators. This is good because it avoids a whole class of potential errors. This PR adds a check for this via the ESLint eqeqeq rule, and fixes up instances where the rule had not been applied.

@coveralls
Copy link

coveralls commented Feb 22, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 8841e45 on blgm:eqeqeq into 86c3a85 on jsonata-js:master.

@blgm blgm changed the title Enfoce eqeqeq rule in JSONata Add ESLint eqeqeq rule to JSONata Feb 23, 2017
@andrew-coleman andrew-coleman merged commit f02405b into jsonata-js:master Feb 23, 2017
@blgm blgm deleted the eqeqeq branch June 12, 2017 17:41
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.

3 participants