Activate no-extra-boolean-cast rule of eslint
This commit is contained in:
1 parent
f5a7211436
commit
d59dddea7d
2 files changed
+1
-2
No files matched your search
@@ -21,7 +21,6 @@ export default [
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
"no-extra-boolean-cast": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"no-self-assign": "off",
|
||||
"no-unexpected-multiline": "off",
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
this.view.optionals.push(column);
|
||||
}
|
||||
|
||||
if (Boolean(parseInt(attributes.sum || '0', 10))) {
|
||||
if (parseInt(attributes.sum || '0', 10)) {
|
||||
var sum = jQuery('<label/>', {
|
||||
'text': attributes.string,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user