question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Rule in Workspace?

See original GitHub issue

I’ve created a VSCode workspace and I’m trying to use a custom rule, markdownlint-rule-emphasis-style-1.0.1, that I have working in the folders.

		"markdownlint.customRules": [
			".vscode/markdownlint-rule-emphasis-style-1.0.1"
		],

However, I’m getting this error

[8:58:13 AM] ERROR: Exception while linting:
Error: Cannot find module '.vscode/markdownlint-rule-emphasis-style-1.0.1'
Require stack:
- c:\Users\conkpb\.vscode\extensions\davidanson.vscode-markdownlint-0.40.4\bundle.js
- c:\Users\conkpb\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
...

I’ve copied the .vscode/markdownlint-rule-emphasis-style-1.0.1 folder to the same folder as my code-workspace file.

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidAnsoncommented, Apr 27, 2021

Yes, I’ll add documentation in order set to resolve/close this issue.

1reaction
DavidAnsoncommented, Apr 27, 2021

By the way, I think adding the ./ is backwards-compatible with previous versions of the extension, so it’s the preferred (unambiguous) syntax.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and manage rules from the Rules page - Google Support
Data protection rules are custom rules that are created by an administrator from the Rules page. You can use these rules to be...
Read more >
Custom alerts moving to consolidated Security rules list
We're moving the management of custom reporting alerts to the Security rules section of the Admin console, found at Admin console > Security ......
Read more >
Learn how to set up rules for automating alerts or actions in G ...
You can establish rules for automating alerts or actions in G Suite with the Activity Rules section. This installment of the @Google Cloud ......
Read more >
How to create a Workspace Experience View Rule to
Workspace View Rule record via menu Workspace Experiences → Workspace View Rules, or from sysrule_view_workspace, and configure it accordingly ...
Read more >
Custom Attributes - VMware Docs
Create a custom attribute and values to push to devices in Workspace ONE UEM. You can create assignment rules for products to provision ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found