summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-08-21 09:43:57 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2023-08-21 09:45:16 +0200
commit07a06fb40103718e22891d2c6535dad2dda61b0c (patch)
tree21e0236e815dafdd241718fe53bc7d4a400b73cd /.eslintrc.js
parent6aa3ba13f34bceaddfe9875f04663f3ab1c093eb (diff)
chore: fix eslint config and lint .ts files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js22
1 files changed, 5 insertions, 17 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index e9481cf8..56c7b5d7 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -3,23 +3,11 @@ module.exports = {
appName: true,
appVersion: true,
},
-
- plugins: ['import'],
- extends: ['@nextcloud'],
-
- settings: {
- 'import/parsers': {
- '@typescript-eslint/parser': ['.ts', '.tsx'],
- },
- 'import/resolver': {
- typescript: {
- alwaysTryTypes: true,
- paths: './tsconfig.json',
- },
- },
- },
-
+ extends: [
+ '@nextcloud/eslint-config/typescript',
+ ],
rules: {
- 'vue/no-reserved-component-names': 'off', // @nextcloud/vue has Button, Content components restricted by rule
+ // @nextcloud/vue has Button, Content components restricted by rule
+ 'vue/no-reserved-component-names': 'off',
},
}