Skip to content

Commit

Permalink
🎨 Fix details
Browse files Browse the repository at this point in the history
  • Loading branch information
jyboy committed Apr 15, 2024
1 parent 2b7efce commit 2c45bbd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .commitlintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Align with gitmoji-vscode: https://github.com/seatonjiang/gitmoji-vscode/blob/main/src/gitmoji.ts
// Refer to `gitmoji-vscode`: https://github.com/seatonjiang/gitmoji-vscode/blob/main/src/gitmoji.ts
const gitmojis = [
{
emoji: '🎨',
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
'plugin:testing-library/react',
'plugin:cypress/recommended',
'plugin:jsx-a11y/recommended',
'eslint-config-prettier'
'prettier'
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cypress Tests
name: E2E Test

on:
push:
Expand Down
15 changes: 7 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# Dependency directory
# Dependencies
node_modules

# Logs and cache
logs
*.log
npm-debug.log*
pnpm-debug.log*
.eslintcache

# Build and test
build
dist
coverage

# Log files
logs
*.log
npm-debug.log*
pnpm-debug.log*

# Misc
*.local
.DS_Store
2 changes: 0 additions & 2 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module.exports = {
useTabs: false,
tabWidth: 2,
endOfLine: 'lf',
trailingComma: 'none',
semi: true,
singleQuote: true,
cssDeclarationSorterKeepOverrides: false,
plugins: [
'@trivago/prettier-plugin-sort-imports',
'prettier-plugin-css-order',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"format": "prettier --write \"{src,cypress}/**/*.{js,jsx,css}\"",
"test": "vitest run",
"test:ui": "cypress run",
"cypress:open": "cypress open"
"cypress:open": "cypress open",
"prepare": "husky"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.2",
Expand Down

0 comments on commit 2c45bbd

Please sign in to comment.