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(config): add support any plugins/presets #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kristinita
Copy link

@Kristinita Kristinita commented Feb 8, 2019

1. Summary

I change remark command in linter.py, that:

  1. any custom remark configuration will support
  2. user doesn't get any errors, if file valid

2. Configuration

Remark has many presets and plugins. User can set any custom configuration, see my .remarkrc.yaml for example.

We shouldn't impose default settings on a single preset on users. I remove --use remark-preset-lint-markdown-style-guide from linter.py.

3. Non-errored file

3.1. Behavior before pull-request

  • We have valid Markdown file.
Kira Goddess!
  • Before:

Before

  • CLI output:
D:\SashaDebugging>remark KiraRemark.md
Kira Goddess!
KiraRemark.md: no issues found

File content is copied to output.

3.2. Behavior after pull-request

I add --no-stdout option, that file content not copied to output.

  • After:

After

4. Testing environment

  • Windows 10 Enterprise LTSB 64-bit EN
  • Sublime Text 3.1.1, Build 3176
  • SublimeLinter 4.9.4
  • SublimeLinter-contrib-remark 1.0.0

Thanks.

Kristinita pushed a commit to Kristinita/remark-lint that referenced this pull request Feb 8, 2019
### 1. Summary

I add remark integration for Sublime Text and Grunt.

### 2. Details

#### 2.1. Grunt

grunt-remark [**poorly documented**](https://www.npmjs.com/package/grunt-remark), but successfully works for me with plugins, presets and configurations.

#### 2.2. Sublime Text

See my [**pull request**](j616/SublimeLinter-contrib-remark-lint#1), it fixes error and add support for any plugin, preset and configuration.

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