diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:11:39 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:11:39 +0000 |
| commit | 1dd5d0fa8bb2ae794b263d1629a662166a9b9d08 (patch) | |
| tree | 4db7b1faca639b8dbf0d85a744f9c59897994dac /.eslintrc.cjs | |
| parent | 8344d1c13c6a3b04abe5d2c129ce5e8225bd44fa (diff) | |
Update eslint rules
Diffstat (limited to '.eslintrc.cjs')
| -rw-r--r-- | .eslintrc.cjs | 25 |
1 files changed, 16 insertions, 9 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', + }, +}; |
