🚨 Fixed some linter warnings.

This commit is contained in:
Myles Braithwaite
2023-04-22 12:53:04 -04:00
parent cf5df760a1
commit 0f6c0f8731
6 changed files with 4338 additions and 1049 deletions

View File

@@ -19,6 +19,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install -g remark-cli
- run: npm test
- run: npm lint
env:
CI: true

132
.gitignore vendored
View File

@@ -1,2 +1,132 @@
node_modules/
build/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

View File

@@ -7,7 +7,7 @@ Your contributions are always welcome!
* Add section if needed.
* Add section title to Table of contents.
* Search previous suggestions before making a new one, as yours may be a duplicate.
* Add your links: ```* [project-name](http://example.com/) - A short description ends with a dot. - `#ProgrammingLanguage` `#Framework` ```
* Add your links: ```- [project-name](http://example.com/) - A short description ends with a dot. - `#ProgrammingLanguage` `#Framework` ```
* Don't mention the section title in the description as it's implied.
* Check your spelling and grammar.
* Make sure your text editor is set to remove trailing whitespace.

View File

@@ -4,6 +4,8 @@
A static web site generator is an application that takes plain text files and compiles them to HTML files.
<!--lint disable alphabetize-lists-->
* [Awesome Static Web Site Generators](#awesome-static-web-site-generators)
* [Blogs](#blogs)
* [CMS](#cms)
@@ -20,6 +22,8 @@ A static web site generator is an application that takes plain text files and co
* [Related Awesome](#related-awesome)
* [Static Web Site Generators in Other Awesome Lists](#static-web-site-generators-in-other-awesome-lists)
<!--lint enable alphabetize-lists-->
### Blogs
* [11ty](https://www.11ty.io/) - Eleventy is a simpler static site generator. - `#JavaScript` `#Node.js`
@@ -28,12 +32,13 @@ A static web site generator is an application that takes plain text files and co
* [Blag](https://github.com/venthur/blag) - blag is a blog-aware, static site generator -- it uses Markdown and is written in Python. - `#Python`
* [BlogC++](https://code.rosaelefanten.org/blogcpp/) - A static blog generator, written in C++17. - `#C++`
* [Cobalt](https://cobalt-org.github.io) - A Rust static site generator. - `#Rust`
* [CommonMark Blog for Laravel](https://github.com/spekulatius/laravel-commonmark-blog) - Static generator to use with Laravel projects. Uses CommonMark and FrontMatter to generate and publish files in the `public`-folder. Supports articles as well as listing pages `#PHP`
* [Franklin](https://franklinjl.org/) - A static site generator written in Julia that is primarily intended for technical blogging. - `#Julia`
* [Gitfolio](https://github.com/imfunniee/gitfolio) - A portfolio website where you could showcase your work + a blog that will help you spread your ideas into real world. - `#Node.js`
* [Hexo](https://github.com/hexojs/hexo) - A fast, simple & powerful blog framework. - `#JavaScript` `#Node.js`
* [Hyde](https://github.com/hyde/hyde) - `#Python`
* [Jamify NextJS](https://github.com/styxlab/next-cms-ghost) - Publish flaring fast blogs with Next.js and Ghost. - `#JavaScript` `#React` `#Next.js`
* [Jamify Gatsby](https://www.jamify.org/) - Publish flaring fast blogs with Gatsby and Ghost. - `#JavaScript` `#React` `#Gastby`
* [Jamify NextJS](https://github.com/styxlab/next-cms-ghost) - Publish flaring fast blogs with Next.js and Ghost. - `#JavaScript` `#React` `#Next.js`
* [Jekyll](https://github.com/jekyll/jekyll) - Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. - `#Ruby`
* [Journey](https://github.com/kabukky/journey) - `#Go`
* [Makesite](https://github.com/sunainapai/makesite) - Simple, lightweight, and magic-free static site/blog generator (< 130 lines) for Python coders `#Python`
@@ -52,7 +57,6 @@ A static web site generator is an application that takes plain text files and co
* [Static](https://github.com/nakkaya/static) - Supports org-mode and markdown. - `#Clojure`
* [Statocles](http://preaction.me/statocles/) - Markdown, code highlighting etc. ' `#Perl`
* [Tinkerer](https://github.com/vladris/tinkerer) - `#Python`
* [CommonMark Blog for Laravel](https://github.com/spekulatius/laravel-commonmark-blog) - Static generator to use with Laravel projects. Uses CommonMark and FrontMatter to generate and publish files in the `public`-folder. Supports articles as well as listing pages `#PHP`
* [WP2Static](https://github.com/leonstafford) - WordPress static site generator for security, performance and cost benefits
* [Xlog](https://xlog.emadelsaid.com/) - Personal knowledge management application with focus on enriching markdown files and surfacing implicit links between pages.
@@ -124,6 +128,7 @@ A static web site generator is an application that takes plain text files and co
* [React Static](https://github.com/nozzle/react-static) - A progressive static-site framework for React. - `#React.js`
* [Scully](https://github.com/scullyio/scully) - The Static Site Generator for Angular apps. - `#TypeScript` `#Angular`
* [Sculpin](https://sculpin.io/) - `#PHP`
* [Silssig](https://gitlab.com/olfek/silssig) - Dart powered static site generator for GitHub/GitLab pages and other similar services with support for markdown. - `#Dart`
* [Sitegen](https://github.com/leafo/sitegen) - `#Lua` `#MoonScript`
* [Slides](https://designmodo.com/slides/) - `#JavaScript`
* [Soupault](https://soupault.app/) - A static site framework and post-processor that works with HTML element trees and can automatically manipulate them. - `#Lua` `#OCaml`
@@ -135,7 +140,6 @@ A static web site generator is an application that takes plain text files and co
* [webgen](http://webgen.gettalong.org/) - `#Ruby`
* [Wintersmith](https://github.com/jnordberg/wintersmith) - `#JavaScript` `#Node.js`
* [yst](https://github.com/jgm/yst) - Powered by YAML. - `#Haskell`
* [Silssig](https://gitlab.com/olfek/silssig) - Dart powered static site generator for GitHub/GitLab pages and other similar services with support for markdown. - `#Dart`
* [Zola](https://www.getzola.org) - Rust powered static site generator - `#Rust`
### Photography
@@ -178,11 +182,11 @@ A static web site generator is an application that takes plain text files and co
## Other Lists of Static Web Site Generators
* [Beginners Guide to Static Site Generators](https://bejamas.io/blog/static-site-generators/)
* [Best Static Site Generators in 2019](https://snipcart.com/blog/choose-best-static-site-generator)
* [HeadlessCMS](https://headlesscms.org/)
* [Static Site Generators](http://staticsitegenerators.net/)
* [StaticGen](https://www.staticgen.com/)
* [Best Static Site Generators in 2019](https://snipcart.com/blog/choose-best-static-site-generator)
* [Beginners Guide to Static Site Generators](https://bejamas.io/blog/static-site-generators/)
## Related Awesome

5215
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +1,32 @@
{
"devDependencies": {
"remark-cli": "10.0.1",
"remark-cli": "11.0.0",
"remark-lint": "9.1.1",
"remark-lint-alphabetize-lists": "3.0.0",
"remark-lint-are-links-valid": "1.0.3",
"remark-lint-are-links-valid-alive": "0.3.0",
"remark-lint-are-links-valid-duplicate": "0.2.2",
"remark-validate-links": "11.0.2"
"remark-preset-lint-consistent": "^5.1.1",
"remark-preset-lint-recommended": "^6.1.2",
"remark-validate-links": "12.1.0"
},
"dependencies": {
"showdown": "1.9.1"
"showdown": "2.1.0"
},
"scripts": {
"test": "remark -u validate-links README.md",
"lint": "remark -u validate-links README.md --frail",
"lintfix": "npm run lint -- -o",
"build": "mkdir -p build/ && showdown makehtml -i README.md -o build/index.html"
},
"remarkConfig": {
"settings": {
"bullet": "-",
"emphasis": "_",
"strong": "*"
},
"plugins": [
"remark-preset-lint-consistent",
"remark-preset-lint-recommended"
]
}
}