* 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
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.