From d7c966c37f514f881f6276eca8be88fdd1a7b488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 26 Jul 2024 16:36:18 +0200 Subject: [PATCH] Use MJS in ESLint config --- .eslintrc.js | 17 ----------------- eslint.config.mjs | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 .eslintrc.js create mode 100644 eslint.config.mjs diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 263f7fc..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - root: true, - env: { - node: true - }, - extends: [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - 'prettier' - ], - plugins: ['prettier'], - rules: { - 'vue/multi-word-component-names': 'off', - 'prettier/prettier': 'error' - } -}; diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..79dbe7e --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,19 @@ +export default [ + { + root: true, + env: { + node: true + }, + extends: [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + 'prettier' + ], + plugins: ['prettier'], + rules: { + 'vue/multi-word-component-names': 'off', + 'prettier/prettier': 'error' + } + } +];