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

Fix --print-config description in CLI help #6914

Merged
merged 2 commits into from Jun 13, 2023
Merged

Commits on Jun 10, 2023

  1. Fix --print-config description in CLI help

    The `--print-config` option never requires an argument. For example:
    
    ```console
    $ bin/stylelint.js --print-config -c scripts/visual-config.json scripts/visual.css
    {
      "rules": {
    ...
    ```
    
    On the other hand, the following example is mistaken:
    
    ```console
    $ bin/stylelint.js --print-config scripts/visual-config.json
    Error: No configuration provided for /Users/masafumi.koba/git/stylelint/stylelint/scripts/visual-config.json
    ...
    ```
    ybiquitous committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    df4e5c9 View commit details
    Browse the repository at this point in the history
  2. Add an example to doc

    ybiquitous committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    96a8f59 View commit details
    Browse the repository at this point in the history