Skip to content

Commit 2ce2410

Browse files
author
James Whitney
authoredMay 2, 2021
feat: Support package.json as a configuration location. (#1178)
* feat: Support `packageProp` in `cosmiconfig` This PR adds support for the storing `cspell` configuration in a `package.json` file. This feature enables developers to remove yet another boilerplate file from their apps.
1 parent 192acfc commit 2ce2410

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/cspell-lib/src/Settings/CSpellSettingsServer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const ENV_CSPELL_GLOB_ROOT = 'CSPELL_GLOB_ROOT';
3737
* the `cspell.config.js`.
3838
*/
3939
const searchPlaces = [
40+
'package.json',
4041
// Original locations
4142
'.cspell.json',
4243
'cspell.json',

0 commit comments

Comments
 (0)
Please sign in to comment.