Skip to content

Commit

Permalink
Upgrade MegaLinter (#186)
Browse files Browse the repository at this point in the history
* Upgrade MegaLinter

* Fix MegaLinter issues

* cspell

* Fixes

* Use cupcake flavor

* lycheeignore

* links

* Fix badges

* Fix dead links

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Dec 17, 2023
1 parent da683f3 commit 9ac4364
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 194 deletions.
352 changes: 179 additions & 173 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,180 @@
{
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
"**/.git/**",
".vscode"
],
"language": "en",
"version": "0.2",
"words": [
"activedocument",
"Affero",
"anymatch",
"applescript",
"archy",
"argparse",
"arity",
"asynckit",
"atomtest",
"backticks",
"Bizzarri",
"callsites",
"camelcase",
"caseless",
"chardet",
"chownr",
"circleci",
"clientrc",
"cliui",
"codecoverage",
"codenarc",
"commondir",
"COPYPASTE",
"dashdash",
"Davide",
"decamelize",
"destructured",
"DEVSKIM",
"dotenv",
"ECONNREFUSED",
"editorconfig",
"embertest",
"eqeqeq",
"eslintcache",
"eslintignore",
"espree",
"esquery",
"esrecurse",
"estraverse",
"estree",
"esutils",
"ETIMEOUT",
"extglob",
"extsprintf",
"failon",
"favicon",
"fixrules",
"flattendeep",
"fontawesome",
"fromentries",
"fsevents",
"fullwidth",
"gensync",
"getownpropertydescriptors",
"getpass",
"gitmodules",
"greasemonkey",
"groovylint",
"groovylintlsp",
"groovylintrc",
"Grovvy",
"hasha",
"imurmurhash",
"isexe",
"isstream",
"javaexecutable",
"javaoptions",
"javascripts",
"jdeploy",
"jenkinsfile",
"Jenkinsfile",
"jsbn",
"jscoverage",
"jsesc",
"jsonify",
"jspm",
"jsprim",
"killserver",
"lannonbr",
"lcov",
"lerna",
"levn",
"linebreak",
"loglevel",
"markdownlint",
"materialx",
"megalinter",
"Microbundle",
"minipass",
"minizlib",
"Misordered",
"mkdocs",
"multiline",
"nashorn",
"Nashorn",
"njre",
"nolintafter",
"nonblock",
"notif",
"npmignore",
"nuxt",
"Nuxt",
"nvuillam",
"OPENVSX",
"optionator",
"optns",
"ovsx",
"oxsecurity",
"paren",
"parens",
"picomatch",
"pids",
"plusplus",
"postcompile",
"precompile",
"preload",
"processinfo",
"promisified",
"PROSELINT",
"prototypejs",
"pymdownx",
"querystringify",
"QUICKFIX",
"quickstart",
"qunit",
"readdirp",
"readonly",
"regexpp",
"returnrules",
"rulesets",
"Rulesets",
"rulesetsoverridetype",
"Serv",
"serviceworker",
"sourcefilepath",
"sprintf",
"sshpk",
"stefanzweifel",
"stylelint",
"Sublicensing",
"tootallnate",
"trimend",
"trimstart",
"tsbuildinfo",
"tsutils",
"tweetnacl",
"twemoji",
"typedarray",
"universalify",
"unparser",
"updateable",
"vsix",
"vuepress",
"Vuillamy",
"webextensions",
"webidl",
"WIPO",
"wrappy",
"wscript",
"yallist",
"yuvmel",
"zalgo"
]
}
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
"**/.git/**",
".vscode"
],
"language": "en",
"version": "0.2",
"words": [
"Affero",
"Bizzarri",
"COPYPASTE",
"DEVSKIM",
"Davide",
"ECONNREFUSED",
"ETIMEOUT",
"Grovvy",
"Jenkinsfile",
"KICS",
"Microbundle",
"Misordered",
"Nashorn",
"Nuxt",
"OPENVSX",
"PROSELINT",
"QUICKFIX",
"Rulesets",
"Serv",
"Sublicensing",
"TRUFFLEHOG",
"Vuillamy",
"WIPO",
"activedocument",
"anymatch",
"applescript",
"archy",
"argparse",
"arity",
"asynckit",
"atomtest",
"backticks",
"callsites",
"camelcase",
"caseless",
"chardet",
"chownr",
"circleci",
"clientrc",
"cliui",
"codecoverage",
"codenarc",
"commondir",
"dashdash",
"decamelize",
"destructured",
"dotenv",
"editorconfig",
"embertest",
"eqeqeq",
"eslintcache",
"eslintignore",
"espree",
"esquery",
"esrecurse",
"estraverse",
"estree",
"esutils",
"extglob",
"extsprintf",
"failon",
"favicon",
"fixrules",
"flattendeep",
"fontawesome",
"fromentries",
"fsevents",
"fullwidth",
"gensync",
"getownpropertydescriptors",
"getpass",
"gitmodules",
"greasemonkey",
"groovylint",
"groovylintlsp",
"groovylintrc",
"hasha",
"imurmurhash",
"isexe",
"isstream",
"javaexecutable",
"javaoptions",
"javascripts",
"jdeploy",
"jenkinsfile",
"jsbn",
"jscoverage",
"jsesc",
"jsonify",
"jspm",
"jsprim",
"killserver",
"lannonbr",
"lcov",
"lerna",
"levn",
"linebreak",
"loglevel",
"lycheeignore",
"markdownlint",
"materialx",
"megalinter",
"minipass",
"minizlib",
"mkdocs",
"multiline",
"nashorn",
"njre",
"nolintafter",
"nonblock",
"notif",
"npmignore",
"nuxt",
"nvuillam",
"optionator",
"optns",
"ovsx",
"oxsecurity",
"paren",
"parens",
"picomatch",
"pids",
"plusplus",
"postcompile",
"precompile",
"preload",
"processinfo",
"promisified",
"prototypejs",
"pymdownx",
"querystringify",
"quickstart",
"qunit",
"readdirp",
"readonly",
"regexpp",
"returnrules",
"rulesets",
"rulesetsoverridetype",
"serviceworker",
"sourcefilepath",
"sprintf",
"sshpk",
"stefanzweifel",
"stylelint",
"tootallnate",
"trimend",
"trimstart",
"tsbuildinfo",
"tsutils",
"tweetnacl",
"twemoji",
"typedarray",
"universalify",
"unparser",
"updateable",
"vscodeignore",
"vsix",
"vstest",
"vuepress",
"webextensions",
"webidl",
"wrappy",
"wscript",
"xvfb",
"yallist",
"yuvmel",
"zalgo"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# This step will evaluate the repo status and report the change
- name: Check if there are changes
id: changes
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: UnicornGlobal/[email protected]

# Push new commit if applicable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

# Mega-Linter
- name: Mega-Linter
uses: oxsecurity/megalinter@v6
uses: oxsecurity/megalinter/flavors/cupcake@v7
env:
# All available variables are described in documentation
# https://github.com/oxsecurity/megalinter#configuration
Expand All @@ -48,8 +48,8 @@ jobs:

# Upload Mega-Linter artifacts. They will be available on Github action page "Artifacts" section
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@v2
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: Mega-Linter reports
path: |
Expand All @@ -59,7 +59,7 @@ jobs:
# This step will evaluate the repo status and report the change
- name: Check if there are changes
id: changes
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: UnicornGlobal/[email protected]

# Create pull request if applicable
Expand Down
1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://twitter.com/NicolasVuillamy
Loading

0 comments on commit 9ac4364

Please sign in to comment.