diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 4e80ff224..3bfdee6eb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json | |||
@@ -1,5 +1,6 @@ | |||
1 | { | 1 | { |
2 | "extends": "standard-with-typescript", | 2 | "extends": "standard-with-typescript", |
3 | "root": true, | ||
3 | "rules": { | 4 | "rules": { |
4 | "eol-last": [ | 5 | "eol-last": [ |
5 | "error", | 6 | "error", |
@@ -126,18 +127,20 @@ | |||
126 | ] | 127 | ] |
127 | }, | 128 | }, |
128 | "ignorePatterns": [ | 129 | "ignorePatterns": [ |
129 | "node_modules/", | 130 | "node_modules", |
130 | "server/tests/fixtures" | 131 | "packages/tests/fixtures", |
132 | "apps/**/dist", | ||
133 | "packages/**/dist", | ||
134 | "server/dist", | ||
135 | "packages/types-generator/tests", | ||
136 | "*.js", | ||
137 | "/client", | ||
138 | "/dist" | ||
131 | ], | 139 | ], |
132 | "parserOptions": { | 140 | "parserOptions": { |
133 | "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true, | ||
134 | "project": [ | 141 | "project": [ |
135 | "./tsconfig.json", | 142 | "./tsconfig.eslint.json" |
136 | "./shared/tsconfig.json", | 143 | ], |
137 | "./scripts/tsconfig.json", | 144 | "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true |
138 | "./server/tsconfig.json", | ||
139 | "./server/tools/tsconfig.json", | ||
140 | "./packages/peertube-runner/tsconfig.json" | ||
141 | ] | ||
142 | } | 145 | } |
143 | } | 146 | } |