mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Disable default markdownlint rules to prevent conflicts with prettier (#50649)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50649 Changelog: [internal] `markdownlint` failed on https://github.com/facebook/react-native/actions/runs/14400262967/job/40384250331?fbclid=IwZXh0bgNhZW0CMTEAAR51hcoM4zuGTG4SNbqas4z9X0FsIO8Y9DsCgxJepvD5qSdDezhhIV-uLTpn5w_aem_FF2OiYft3uMzK4xJrKGvuA because lines were too long, but that's already handled by Prettier and I thought that I had disabled that rule in the configuration/ It turns out you have to explicitly set `default: false` to actually disable the default rules and only use the options explicitly set in the config (which this does). Reviewed By: andrewdacenko Differential Revision: D72855229 fbshipit-source-id: 8e0c74e8e47e298ebf1450b1a0e31f31179c626c
This commit is contained in:
1 parent
e83ece0d17
commit
c8455804dd
1 file changed
+1
@@ -11,6 +11,7 @@ import relativeLinksRule from 'markdownlint-rule-relative-links';
|
||||
|
||||
const config = {
|
||||
config: {
|
||||
default: false,
|
||||
'heading-increment': true,
|
||||
'no-reversed-links': true,
|
||||
'no-missing-space-atx': true,
|
||||
|
||||
Reference in new issue
Block a user