From 077fcf719b1a9383b4170f33a77c95024d6f7188 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Mon, 3 Sep 2018 22:48:46 -0500 Subject: Continue code cleanup --- .eslintrc.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .eslintrc.js (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..c3c75e8 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,36 @@ +module.exports = { + "env": { + "browser": true, + "es6": true, + "jquery": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 2016, + "sourceType": "module" + }, + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "warn", + "double" + ], + "semi": [ + "error", + "always" + ], + "no-console": [ + "off" + ], + "no-unused-vars": [ + "warn" + ] + } +}; \ No newline at end of file -- cgit From 8818ba99f804b1b1845a4757d67cc32d552956e1 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 8 Sep 2018 19:02:32 -0500 Subject: Continue major cleanup and style fixes --- .eslintrc.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index c3c75e8..3b5d12a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,8 +15,7 @@ module.exports = { "tab" ], "linebreak-style": [ - "error", - "unix" + "off" ], "quotes": [ "warn", @@ -31,6 +30,6 @@ module.exports = { ], "no-unused-vars": [ "warn" - ] + ], } }; \ No newline at end of file -- cgit From 2367bd601ad039eee872894977af7ef055ca9cc5 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 23 Mar 2019 19:15:51 +0100 Subject: more npm --- .eslintrc.js | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .eslintrc.js (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 3b5d12a..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,35 +0,0 @@ -module.exports = { - "env": { - "browser": true, - "es6": true, - "jquery": true - }, - "extends": "eslint:recommended", - "parserOptions": { - "ecmaVersion": 2016, - "sourceType": "module" - }, - "rules": { - "indent": [ - "error", - "tab" - ], - "linebreak-style": [ - "off" - ], - "quotes": [ - "warn", - "double" - ], - "semi": [ - "error", - "always" - ], - "no-console": [ - "off" - ], - "no-unused-vars": [ - "warn" - ], - } -}; \ No newline at end of file -- cgit From 393142f7001269140897a8ca191884e8c29bb699 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Mon, 1 Jul 2019 21:48:00 -0500 Subject: (See commit message) This commit includes another pass of refactoring to webAO, but could not be tested because it has become virtually impossible to compile GoldenLayout correctly and have it be detected as a module by webpack. GoldenLayout has also been dormant for an alarming amount of time, and its new maintainers have not been doing a stellar job releasing bug fixes. So, I give up trying to build webAO. It's a heaping mess written in vanilla HTML/CSS/JS without the use of a proper web framework, dependent on a raw TCP protocol designed 7 years ago, only to be wrapped with yet another protocol that only half the servers *want* to support, because webAO is so bad that only incompetent players would want to keep using it. (Unless you are a Chromebook player, in which case I am sorry for hurling insults at you.) webAO started off as an experiment by sD, but became real only because I made it real. I was the one who added support for it for tsuserver; I was the one who made the UI vaguely acceptable; I was the one who added a button for it on the home page. It's really my fault that this abomination lives on. I should have learned a legitimate web framework and rewritten it when I had the chance. --- .eslintrc.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .eslintrc.js (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..3cd51ec --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,22 @@ +module.exports = { + "env": { + "browser": true, + "es6": true, + "jquery": true + }, + "extends": "eslint:recommended", + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaVersion": 2018, + "sourceType": "module" + }, + "rules": { + "no-console": "off", + "no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], + "eqeqeq": ["error", "smart"], + "semi": ["error", "always"] + } +}; \ No newline at end of file -- cgit