forked from meilisearch/meilisearch-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1663: Remove prettier custom options r=curquiza a=flevi29 # Pull Request ## Related issue Fixes meilisearch#1659 ## What does this PR do? - Removes unnecessary prettier options for reasons described in the linked issue - Applies these changes to all files Co-authored-by: F. Levi <[email protected]>
- Loading branch information
Showing
64 changed files
with
6,157 additions
and
6,119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,4 +79,4 @@ module.exports = { | |
}, | ||
}, | ||
], | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
// https://prettier.io/docs/en/options.html | ||
|
||
module.exports = { | ||
singleQuote: true, | ||
semi: false, | ||
trailingComma: 'es5', | ||
plugins: ['./node_modules/prettier-plugin-jsdoc/dist/index.js'], | ||
// https://github.com/hosseinmd/prettier-plugin-jsdoc#tsdoc | ||
tsdoc: true, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = function () { | ||
// This is required for tests to work with "cross-fetch" on newer node versions, | ||
// otherwise "cross-fetch" won't replace the builtin `fetch` | ||
globalThis.fetch = undefined | ||
} | ||
globalThis.fetch = undefined; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export * from './types' | ||
export * from './errors' | ||
export * from './indexes' | ||
import { MeiliSearch } from './clients/browser-client' | ||
export * from './types'; | ||
export * from './errors'; | ||
export * from './indexes'; | ||
import { MeiliSearch } from './clients/browser-client'; | ||
|
||
export { MeiliSearch, MeiliSearch as Meilisearch } | ||
export default MeiliSearch | ||
export { MeiliSearch, MeiliSearch as Meilisearch }; | ||
export default MeiliSearch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Config } from '../types' | ||
import { Client } from './client' | ||
import { Config } from '../types'; | ||
import { Client } from './client'; | ||
|
||
class MeiliSearch extends Client { | ||
constructor(config: Config) { | ||
super(config) | ||
super(config); | ||
} | ||
} | ||
|
||
export { MeiliSearch } | ||
export { MeiliSearch }; |
Oops, something went wrong.