diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 90% rename from .eslintrc.js rename to .eslintrc.cjs index 1b03825..b419f8e 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -8,12 +8,6 @@ module.exports = { amd: true, }, rules: { - "prettier/prettier": [ - "warn", - { - printWidth: 120, - }, - ], "max-len": ["warn", { code: 120, ignoreComments: true, ignoreStrings: true }], "prefer-const": [ "error", diff --git a/package.json b/package.json index 7a3efd2..902e79f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xiangnanscu/lua2js", - "version": "0.29.0", + "version": "0.30.0", "main": "src/lua2js.mjs", "type": "module", "bin": { diff --git a/src/components/MainPage.vue b/src/components/MainPage.vue index 93bed9d..4e9dfd1 100644 --- a/src/components/MainPage.vue +++ b/src/components/MainPage.vue @@ -1,94 +1,28 @@