Skip to content

Commit

Permalink
.eslintrc.json: Enable require-atomic-updates rule
Browse files Browse the repository at this point in the history
Although Promises aren't support by Qt Script anyway, some scripts in
the res/controllers directory are using Promises anyway (i.e. the Novation
Launchpad scripts). So in any case it doesn't hurt to enable this rule.
  • Loading branch information
Holzhaus committed Jan 17, 2020
1 parent 64658eb commit ccdd31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"eqeqeq": ["error", "always"],
"camelcase": "error",
"dot-location": "off",
"require-atomic-updates": "off"
"require-atomic-updates": "error"
},
"globals": {
"console": "writable",
Expand Down

0 comments on commit ccdd31b

Please sign in to comment.