You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As outlined in the [criteria](./core-philosophy/criteria.md) page, Sheriff comes with sensible defaults. However, as your project grows, your team may come across the need to override some of these defaults. This option lets you do just that.
336
336
337
337
```ts title="API"
338
-
pathsOveriddes: {
338
+
pathsOverrides: {
339
339
tsconfigLocation: string|string[];
340
340
tests: string[];
341
341
}
342
342
```
343
343
344
-
#### `pathsOveriddes.tsconfigLocation`
344
+
#### `pathsOverrides.tsconfigLocation`
345
345
346
346
By default, Sheriff will use the `project: true` option to locate the `tsconfig.json` of your project.
Copy file name to clipboardExpand all lines: apps/docs-website/docs/performance-considerations.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -122,5 +122,5 @@ Pay special attention to:
122
122
-[ESLint files and ignore patterns](https://eslint.org/docs/latest/use/configure/configuration-files-new#specifying-files-and-ignores)
123
123
-[Typescript include and exclude patterns](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#wide-includes-in-your-tsconfig)
// we insert reactConfig this way because it's an array. It's an array because it contains multiple configs, currently: react, react-hooks, react-a11y and react-refresh.
* This parameter allows you to override the paths for some Sheriff settings.
91
91
*/
92
-
pathsOveriddes?: {
92
+
pathsOverrides?: {
93
93
/**
94
94
* With this setting, if you have multiple tsconfig.json files in your project (like tsconfig.json, tsconfig.eslint.json, tsconfig.node.json, etc...) you can specify which config Sheriff will pickup. You can also specify a list of paths, see: https://typescript-eslint.io/linting/typed-linting/monorepos/#one-tsconfigjson-per-package-and-an-optional-one-in-the-root.
0 commit comments