ssg-factory
ESLint
ssg-factory | ESLint | |
---|---|---|
10 | 381 | |
0 | 24,310 | |
- | 1.0% | |
0.0 | 9.7 | |
over 2 years ago | 3 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ssg-factory
-
Adding Continuous Integration with GitHub Actions 🛠
After ensuring that the CI was working, I decided to file an issue to Tue's repo and asked if I could help him test his text to HTML conversion. We worked with each other through Slack and GitHub, with myself taking notes of what he wanted to check and what the expected results should be. After struggling with managing and rebase commits when changing the code based on Tue's review, I was able to merge my pull request.
-
Bugs are not allowed in
Afterwards, I pulled the repo to update my local and added more tests to my program as I recently refactored it to test easier. One of the commits passed testing after integrating GitHub Actions.
-
Adding more tools to control code quality
This week, I have a chance implement them into my project as an author to ensure my code stay consistent when different people contribute. The extensions I chose to add to the workflow are:
-
Inspired by Docusaurus
You can take a look at the commit and my Docusaurus demo site
-
Refactoring code
Checkout THE COMMIT
-
A way to review a Pull Request
You can take a look at Roxanne's repo here or mine
-
Initial Pull Requests
This week, I continued working with Git and Github to learn the basics of pull requests, code reviews and more. I collaborated with Tue Nguyen to add functionality to his Static Site Generator: tue-1st-ssg.
-
Adding markdown parsing to SSG
Francesco's SSG My SSG
-
Doing code review
The issues weren't severed, the program still functioned fine, but the HTML files generated had quite a few HTML markdown errors and the help command didn't print enough information. After some discussions, Oliver managed to fixed those issues easily, he also caused a bug but quickly patched it up.
-
My First Baby Steps in Open Source
It didn't take me a lot of time to fix the issue, so I decided, in return for his help, to test his program, which was also a SSG written in Javascript.
ESLint
-
Release Radar · April 2024 Edition: Major updates from the open source community
Do you have the need to find and fix problems in your JavaScript? Then ESLint is for you. With over 120 million downloads each month, it's definitely one of the most popular projects out there. The latest version introduces a new configuration system, designed to simplify available configuration options. Old and deprecated rules have been removed, and a new configuration inspector has been added. Check out the blog for all the highlights, and a migration guide.
-
Shared Data-Layer Setup For Micro Frontend Application with Nx Workspace
ESLint: A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript.
-
To Review or Not to Review: The Debate on Mandatory Code Reviews
Automating code checks with static code analysis allows us to enforce code styling effectively. By integrating tools into our workflow, we can identify errors at an early stage, while coding instead of blocking us at the end. For instance, flake8 checks Python code for style and errors, eslint performs similar checks for JavaScript, and prettier automatically formats code to maintain consistency.
-
Biome.js : Prettier+ESLint killer ?
If you're a developer, you're surely familiar with Prettier and ESLint. With over 8 years of existence, they have established themselves as references in the JavaScript ecosystem.
-
Most basic code formatting
eslint is used to avoid code errors
-
How to use Lefthooks in your node project?
No lint errors: The committed code does not contain any lint errors (eslint).
-
Git Project Configuration With Husky and ESLint
Let’s walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.
-
What is an Abstract Syntax Tree in Programming?
GitHub | Website
-
Shared Tailwind Setup For Micro Frontend Application with Nx Workspace
ESLint: A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript.
-
6 Tools To Help Keep Your Dependencies And Code More Secure
ESLint
What are some alternatives?
silkie - Static site generator with the smoothness of silk
XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
SiteGen - Static Site Generator
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
GMOT-SSG - My Static Site Generator!
prettier - Prettier is an opinionated code formatter.
JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
JSLint - JSLint, The JavaScript Code Quality and Coverage Tool
Babel (Formerly 6to5) - 🐠 Babel is a compiler for writing next generation JavaScript.
jsinspect - Detect copy-pasted and structurally similar code
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
next-seo - Next SEO is a plug in that makes managing your SEO easier in Next.js projects.