diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 13:31:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 13:34:21 -0300 |
commit | 43f1a1dd1b44065663a797603012394c52a9baea (patch) | |
tree | 3df4c15a1249d68541a208827e20e436ca30295a /.eslintrc | |
parent | e8a55f10dd9749ad240b165e318db0a1d2f00a9a (diff) |
use ESM module syntax & update tui-lib
Exciting update! This doesn't make any substantial changes exactly but does update the most quickly-archaic parts of older Node code.
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..f742bb8 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,24 @@ +{ + "env": { + "es2021": true, + "node": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + "indent": ["off"], + "no-constant-condition": ["error", { + "checkLoops": false + }], + "no-empty": ["error", { + "allowEmptyCatch": true + }], + "no-unused-vars": ["error", { + "argsIgnorePattern": "^_", + "destructuredArrayIgnorePattern": "^" + }] + } +} |