Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support .yaml and .js configuration files #875

Merged
merged 6 commits into from
Jan 21, 2021
Merged

feat: support .yaml and .js configuration files #875

merged 6 commits into from
Jan 21, 2021

Conversation

Jason3S
Copy link
Collaborator

@Jason3S Jason3S commented Jan 21, 2021

Related to #847

cspell will search for the following configuration files:

       'package.json',
        'cspell.json',
        'cSpell.json',
        '.cspell.json',
        '.vscode/cspell.json',
        '.vscode/cSpell.json',
        '.vscode/.cspell.json',
        '.cSpell.json',
        'cspell.yaml',
        'cspell.yml',
        'cspell.js',
        'cspell.cjs',

cspell will search for the following files:
```
       'package.json',
        'cspell.json',
        'cSpell.json',
        '.cspell.json',
        '.vscode/cspell.json',
        '.vscode/cSpell.json',
        '.vscode/.cspell.json',
        '.cSpell.json',
        'cspell.yaml',
        'cspell.yml',
        'cspell.js',
        'cspell.cjs',
```
@Jason3S Jason3S changed the title feat: support .yaml and .js configuratio files feat: support .yaml and .js configuration files Jan 21, 2021
@Jason3S Jason3S merged commit 4a07acc into master Jan 21, 2021
@Jason3S Jason3S deleted the dev branch January 21, 2021 22:09
@glen-84
Copy link

glen-84 commented Jan 24, 2021

Is this correct?

cspell.js:

"use strict";

module.exports = {
    version: "0.1",
    language: "en-GB",
    dictionaries: ["typescript"],
    ignorePaths: ["dist", "package-lock.json"],
    ignoreWords: ["..."]
};

It doesn't seem to work. When I run npx cspell --version, for example, there is no output while that file exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants