This is a Portfolio setup and mobile first project with HTML & CSS. This project version is set up with html-css linters.
- Html and CSS
- Stylelint (for style linting)
- Webhint - A customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more by checking your code for best practices and common errors.
To get a local copy up, CD into the root folder and run:
npm install
To execute Webhint linters, run the command bellow (Instead of using . to run the linter from the root, you can also specify a specific directory, i.e.** npx hint ./index**):
npx hint .
Then manually fix the highlighted errors is any.
To execute style linters, run the command bellow:
npx stylelint "**/*.{css,scss}"
Then manually fix the highlighted errors is any.
To auto fix stylelint errors that are fixable automatically, run
npx stylelint "**/*.{css,scss}" --fix
You can learn more here>>
👤 Author
- GitHub: @githubhandle
- Website: James Serengia
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.