diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-07-01 21:48:00 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-07-01 21:48:00 -0500 |
| commit | 393142f7001269140897a8ca191884e8c29bb699 (patch) | |
| tree | 04630080d143a2432f1aa9df9c7689bc078e5354 /.eslintrc.js | |
| parent | 3120cca6945ee8fa1dda40370fc9ee74265dc982 (diff) | |
(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.
Diffstat (limited to '.eslintrc.js')
| -rw-r--r-- | .eslintrc.js | 22 |
1 files changed, 22 insertions, 0 deletions
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 |
