A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arduino/arduino-lint/commit/9b26e7129501f8ce60bdb112f72425a59f76481b below:

Correct readme filename regular expression · arduino/arduino-lint@9b26e71 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -35,7 +35,7 @@ type Type func() (result ruleresult.Type, output string)

35 35

// MissingReadme checks if the project has a readme that will be recognized by GitHub.

36 36

func MissingReadme() (result ruleresult.Type, output string) {

37 37

// https://github.com/github/markup/blob/master/README.md

38 -

readmeRegexp := regexp.MustCompile(`(?i)^readme\.(markdown)|(mdown)|(mkdn)|(md)|(textile)|(rdoc)|(org)|(creole)|(mediawiki)|(wiki)|(rst)|(asciidoc)|(adoc)|(asc)|(pod)|(txt)$`)

38 +

readmeRegexp := regexp.MustCompile(`(?i)^readme\.((markdown)|(mdown)|(mkdn)|(md)|(textile)|(rdoc)|(org)|(creole)|(mediawiki)|(wiki)|(rst)|(asciidoc)|(adoc)|(asc)|(pod)|(txt))$`)

39 39 40 40

// https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-readmes#about-readmes

41 41

if pathContainsRegexpMatch(projectdata.ProjectPath(), readmeRegexp) ||

File renamed without changes.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4