aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.cjs25
-rw-r--r--.prettierrc.json6
2 files changed, 19 insertions, 12 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 95c7d05..ea8c046 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,23 +1,30 @@
/* eslint-env node */
-require('@rushstack/eslint-patch/modern-module-resolution')
+require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
root: true,
- 'extends': [
+ extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
- '@vue/eslint-config-prettier/skip-formatting'
+ '@vue/eslint-config-prettier/skip-formatting',
+ 'plugin:prettier/recommended',
],
parserOptions: {
- ecmaVersion: 'latest'
+ ecmaVersion: 'latest',
},
overrides: [
{
files: ['**/*.ts', '**/*.vue'],
rules: {
- 'vue/multi-word-component-names': 'off'
- }
- }
- ]
-}
+ 'vue/multi-word-component-names': 'off',
+ },
+ },
+ ],
+ rules: {
+ '@typescript-eslint/interface-name-prefix': 'off',
+ '@typescript-eslint/explicit-function-return-type': 'off',
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
+ '@typescript-eslint/no-explicit-any': 'off',
+ },
+};
diff --git a/.prettierrc.json b/.prettierrc.json
index 66e2335..b3fdc92 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
- "semi": false,
+ "semi": true,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
- "trailingComma": "none"
-} \ No newline at end of file
+ "trailingComma": "es5"
+}