diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..4a017dc --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +model/uploadRecord.js +config/YamlReader.js \ No newline at end of file diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..ab05076 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,23 @@ +module.exports = { + env: { + es2021: true, + node: true + }, + extends: ['standard'], + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module' + }, + globals: { + Bot: true, + redis: true, + logger: true, + plugin: true + }, + rules: { + eqeqeq: ['off'], + 'prefer-const': ['off'], + 'arrow-body-style': 'off', + camelcase: 'off' + } +} diff --git a/.gitignore b/.gitignore index d498efc..40b878d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -node_modules/ -.eslintignore \ No newline at end of file +node_modules/ \ No newline at end of file