diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 85% rename from .eslintrc.js rename to .eslintrc.cjs index 8932a0de..877dd203 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -4,7 +4,7 @@ module.exports = { parserOptions: { "project": "./tsconfig.json" }, - ignorePatterns: ['*.test.ts', '.eslintrc.js', 'webpack.config.js', '*.js'], + ignorePatterns: ['*.test.ts', '.eslintrc.cjs', 'webpack.config.cjs', '*.js'], overrides: [{ files: ['*.ts', '*.tsx'], }], diff --git a/package.json b/package.json index 115b56ac..b9617f01 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ }, "author": "Hide_D", "license": "MIT", + "type": "module", "dependencies": { "@types/downloadjs": "^1.4.2", "@types/select2": "^4.0.54", @@ -62,4 +63,4 @@ "pre-commit": [ "lint" ] -} +} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.cjs similarity index 100% rename from webpack.config.js rename to webpack.config.cjs