|
40 | 40 | "eslint-plugin-svelte3": "^4.0.0",
|
41 | 41 | "prettier": "2.8.1",
|
42 | 42 | "prettier-plugin-svelte": "^2.8.1",
|
43 |
| - "turbo": "1.6.3", |
| 43 | + "turbo": "1.8.8", |
44 | 44 | "typescript": "4.9.4"
|
45 | 45 | },
|
46 | 46 | "engines": {
|
|
119 | 119 | ],
|
120 | 120 | "overrides": [
|
121 | 121 | {
|
122 |
| - "files": ["*.ts", "*.tsx"], |
| 122 | + "files": [ |
| 123 | + "*.ts", |
| 124 | + "*.tsx" |
| 125 | + ], |
123 | 126 | "parser": "@typescript-eslint/parser",
|
124 | 127 | "parserOptions": {
|
125 |
| - "project": ["./packages/**/tsconfig.json", "./apps/**/tsconfig.json"] |
| 128 | + "project": [ |
| 129 | + "./packages/**/tsconfig.json", |
| 130 | + "./apps/**/tsconfig.json" |
| 131 | + ] |
| 132 | + }, |
| 133 | + "settings": { |
| 134 | + "react": { |
| 135 | + "version": "18" |
| 136 | + } |
126 | 137 | },
|
127 |
| - "settings": { "react": { "version": "18" } }, |
128 | 138 | "extends": [
|
129 | 139 | "plugin:react/recommended",
|
130 | 140 | "plugin:react/jsx-runtime",
|
|
143 | 153 | }
|
144 | 154 | },
|
145 | 155 | {
|
146 |
| - "files": ["*.test.ts", "*.test.js"], |
147 |
| - "extends": ["plugin:jest/recommended"], |
148 |
| - "env": { "jest": true } |
| 156 | + "files": [ |
| 157 | + "*.test.ts", |
| 158 | + "*.test.js" |
| 159 | + ], |
| 160 | + "extends": [ |
| 161 | + "plugin:jest/recommended" |
| 162 | + ], |
| 163 | + "env": { |
| 164 | + "jest": true |
| 165 | + } |
149 | 166 | },
|
150 | 167 | {
|
151 |
| - "files": ["docs/**"], |
152 |
| - "plugins": ["@docusaurus"], |
153 |
| - "extends": ["plugin:@docusaurus/recommended"] |
| 168 | + "files": [ |
| 169 | + "docs/**" |
| 170 | + ], |
| 171 | + "plugins": [ |
| 172 | + "@docusaurus" |
| 173 | + ], |
| 174 | + "extends": [ |
| 175 | + "plugin:@docusaurus/recommended" |
| 176 | + ] |
154 | 177 | },
|
155 | 178 | {
|
156 |
| - "files": ["packages/{core,sveltekit}/*.ts"], |
157 |
| - "plugins": ["jsdoc"], |
158 |
| - "extends": ["plugin:jsdoc/recommended"], |
| 179 | + "files": [ |
| 180 | + "packages/{core,sveltekit}/*.ts" |
| 181 | + ], |
| 182 | + "plugins": [ |
| 183 | + "jsdoc" |
| 184 | + ], |
| 185 | + "extends": [ |
| 186 | + "plugin:jsdoc/recommended" |
| 187 | + ], |
159 | 188 | "rules": {
|
160 | 189 | "jsdoc/require-param": "off",
|
161 | 190 | "jsdoc/require-returns": "off",
|
162 | 191 | "jsdoc/require-jsdoc": [
|
163 | 192 | "warn",
|
164 |
| - { "publicOnly": true, "enableFixer": false } |
| 193 | + { |
| 194 | + "publicOnly": true, |
| 195 | + "enableFixer": false |
| 196 | + } |
| 197 | + ], |
| 198 | + "jsdoc/no-multi-asterisks": [ |
| 199 | + "warn", |
| 200 | + { |
| 201 | + "allowWhitespace": true |
| 202 | + } |
165 | 203 | ],
|
166 |
| - "jsdoc/no-multi-asterisks": ["warn", { "allowWhitespace": true }], |
167 | 204 | "jsdoc/tag-lines": "off"
|
168 | 205 | }
|
169 | 206 | },
|
170 | 207 | {
|
171 |
| - "files": ["packages/frameworks-sveltekit"], |
172 |
| - "plugins": ["svelte3"], |
173 |
| - "overrides": [{ "files": ["*.svelte"], "processor": "svelte3/svelte3" }], |
174 |
| - "parserOptions": { "sourceType": "module", "ecmaVersion": 2020 }, |
175 |
| - "env": { "browser": true, "es2017": true, "node": true } |
| 208 | + "files": [ |
| 209 | + "packages/frameworks-sveltekit" |
| 210 | + ], |
| 211 | + "plugins": [ |
| 212 | + "svelte3" |
| 213 | + ], |
| 214 | + "overrides": [ |
| 215 | + { |
| 216 | + "files": [ |
| 217 | + "*.svelte" |
| 218 | + ], |
| 219 | + "processor": "svelte3/svelte3" |
| 220 | + } |
| 221 | + ], |
| 222 | + "parserOptions": { |
| 223 | + "sourceType": "module", |
| 224 | + "ecmaVersion": 2020 |
| 225 | + }, |
| 226 | + "env": { |
| 227 | + "browser": true, |
| 228 | + "es2017": true, |
| 229 | + "node": true |
| 230 | + } |
176 | 231 | }
|
177 | 232 | ],
|
178 | 233 | "parserOptions": {
|
179 | 234 | "sourceType": "module",
|
180 | 235 | "ecmaVersion": "latest",
|
181 |
| - "ecmaFeatures": { "jsx": true } |
| 236 | + "ecmaFeatures": { |
| 237 | + "jsx": true |
| 238 | + } |
182 | 239 | },
|
183 | 240 | "root": true
|
184 | 241 | },
|
|
191 | 248 | "apps/dev/nextjs/pages/api/auth/[...nextauth].ts",
|
192 | 249 | "docs/{sidebars,docusaurus.config}.js"
|
193 | 250 | ],
|
194 |
| - "options": { "printWidth": 150 } |
| 251 | + "options": { |
| 252 | + "printWidth": 150 |
| 253 | + } |
195 | 254 | },
|
196 | 255 | {
|
197 |
| - "files": ["**/*package.json"], |
| 256 | + "files": [ |
| 257 | + "**/*package.json" |
| 258 | + ], |
198 | 259 | "options": {
|
199 | 260 | "trailingComma": "none"
|
200 | 261 | }
|
|
0 commit comments