BafS 2018-02-12 21:57:30 +01:00
parent de6ffc2f76
commit 6b65640ac7
2 changed files with 3 additions and 7 deletions

View File

@ -277,10 +277,6 @@ module.exports = {
"prefer-template": "off",
"quote-props": "off",
"quotes": "off",
"radix": [
"error",
"as-needed"
],
"require-await": "error",
"require-jsdoc": "off",
"rest-spread-spacing": "error",
@ -327,12 +323,12 @@ module.exports = {
"never"
],
// Custom silencers:
// Custom silencers:
"camelcase": 0,
"no-debugger": 0,
"require-await": 0,
"no-multi-assign": 0,
"no-underscore-dangle": 0,
"no-underscore-dangle": 0,
"no-restricted-syntax": 0,
"one-var-declaration-per-line": 0,

View File

@ -381,7 +381,7 @@ export default {
/** Converts from an integer to string. */
read: function(type, e) {
for (var i in type) {
if (type[i] === parseInt(e)) {
if (type[i] === parseInt(e, 10)) {
return i;
}
}