diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100755 index 00000000..3c181504 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,6 @@ +module.exports = { + "extends": ["react-app"], + rules: { + '@typescript-eslint/no-unused-vars': "off" + } +} diff --git a/.eslintrc.js.bak b/.eslintrc.js.bak deleted file mode 100755 index 8921dd77..00000000 --- a/.eslintrc.js.bak +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - rules: { - 'no-debugger' : 'off', - 'no-unused-vars': 'warn', - 'vue/no-unused-vars': "off" - } -} diff --git a/7 b/7 new file mode 100644 index 00000000..e69de29b diff --git a/8 b/8 new file mode 100644 index 00000000..e69de29b diff --git a/src/render/webgl/WebGLTexture.ts b/src/render/webgl/WebGLTexture.ts index 365a78f1..10d5d2ff 100755 --- a/src/render/webgl/WebGLTexture.ts +++ b/src/render/webgl/WebGLTexture.ts @@ -37,7 +37,7 @@ export class GLTexture { * @returns */ public static isPowerOfTwo(x: number) { - return (x & (x - 1)) == 0; + return (x & (x - 1)) === 0; } /**