diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 21:54:52 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 21:54:52 -0300 |
commit | 4ea5e57d2b6c12f42ff21c4b43056021553f07a0 (patch) | |
tree | 175c5c662639496fc859fa9a4852c363a6bab11d /.eslintrc | |
parent | 84c49e453336d6105655edd08e93bab071c0fc3b (diff) | |
parent | a36e372ba88b59e08fa938f76b261fdc2797bef2 (diff) |
Merge branch 'main' into socket-mtui
And also get most of it working wow.
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": "^" + }] + } +} |