Commit Graph

6 Commits

Author SHA1 Message Date
Sat Naing 6bbe177566 chore: upgrade ESLint to v9 and update configurations (#356)
* chore: upgrade ESLint to v9 and update configurations

Upgrade ESLint and configure and update ESLint rules.

* refactor: update code to comply with new ESLint v9 rules
2024-08-19 12:58:16 +07:00
Tanishq Manuja 9dcc5e1932 refactor: update site URL to be single source of truth (#143)
* wip: astro config to use .ts instead of .mjs

* fix: remove invalid prop in astro config

* refactor: single source of truth for site url

* refactor: make minor updates due to astro.config.ts

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2023-10-09 03:07:45 +00:00
Sha Mwe La a9631d0e1e feat: add ESLint and update linting errors (#26)
* Install ESLint and Astro ESLint plugin

* Configure 2 plugins

* Improve ignore files

* Add lint script

* Install astro-eslint-parser

* Add parser and fix linting errors
2023-02-02 16:24:38 +06:30
satnaing 9355fb8044 build: exclude README from prettier ignore list 2023-01-31 00:19:49 +06:30
satnaing 0eeed8e870 refactor: update toggle theme function for better structure and a11y
Move theme switch js codes in Layout.astro file to external js file (toggle-theme.js). Update
.prettierignore to exclude the new toggle-theme.js file.  Update base.css for new data-theme
attribute.
2022-11-26 23:43:27 +06:30
Sat Naing 6fa8990f3d chore: configure eslint and prettier 2022-10-16 20:38:46 +06:30