summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-15 11:48:15 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-05-30 10:28:56 +0200
commit77cc60e0edd627d3bbed63f0e34b13822b387baf (patch)
treecb8c26f64f3fb88175dd8ad90d1347865321dfb6 /.eslintrc.js
parent21c5e699ffa394c45094e898af0f5192cf239bee (diff)
New member button and virtual list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js20
1 files changed, 16 insertions, 4 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 307f668a..a532df9e 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,8 +1,20 @@
module.exports = {
globals: {
- appVersion: 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'
- ]
}