-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from r34son/prettier
Linting
- Loading branch information
Showing
18 changed files
with
4,567 additions
and
1,362 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pnpm-lock.yaml | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ describe('Home', () => { | |
name: /By Vercel Logo/i, | ||
}); | ||
|
||
// @ts-ignore | ||
expect(heading).toBeInTheDocument(); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,24 +3,38 @@ | |
"version": "0.1.0", | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "18" | ||
"node": "18", | ||
"pnpm": "7.x" | ||
}, | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"build": "ANALYZE=true next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"format:check": "prettier . --cache --check", | ||
"format:fix": "pnpm run format:check --write", | ||
"lint:check": "run-p --continue-on-error \"lint:*:check\"", | ||
"lint:fix": "run-p --continue-on-error \"lint:*:fix\"", | ||
"lint:code:check": "eslint . --cache --ignore-path .gitignore", | ||
"lint:code:fix": "pnpm run lint:code:check --fix", | ||
"lint:styles:check": "stylelint \"**/*.css\" --cache --ignore-path .gitignore", | ||
"lint:styles:fix": "pnpm run lint:styles:check --fix", | ||
"preinstall": "npx only-allow pnpm", | ||
"setup": "is-ci || simple-git-hooks", | ||
"test": "jest", | ||
"prepare": "is-ci || husky install", | ||
"commitlint": "commitlint --edit" | ||
"test:e2e": "exit 0", | ||
"types:check": "tsc --noEmit", | ||
"validate": "run-p format:check lint:check types:check test test:e2e" | ||
}, | ||
"dependencies": { | ||
"@next/bundle-analyzer": "^13.5.4", | ||
"@sentry/nextjs": "^7.74.0", | ||
"@vercel/analytics": "^1.1.1", | ||
"next": "13.5.4", | ||
"next-compose-plugins": "^2.2.1", | ||
"react": "^18", | ||
"react-dom": "^18" | ||
"react-dom": "^18", | ||
"stylelint-config-standard": "^34.0.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.8.0", | ||
|
@@ -33,10 +47,59 @@ | |
"@types/react-dom": "^18", | ||
"eslint": "^8", | ||
"eslint-config-next": "13.5.4", | ||
"husky": "^8.0.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"is-ci": "^3.0.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lint-staged": "^15.0.0", | ||
"npm-run-all2": "^6.1.1", | ||
"prettier": "3.0.3", | ||
"simple-git-hooks": "^2.9.0", | ||
"stylelint": "^15.10.3", | ||
"typescript": "^5" | ||
}, | ||
"browserslist": { | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
], | ||
"production": [ | ||
">=0.75%", | ||
"not dead", | ||
"not op_mini all" | ||
] | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"prettier" | ||
] | ||
}, | ||
"prettier": { | ||
"singleQuote": true | ||
}, | ||
"stylelint": { | ||
"extends": "stylelint-config-standard" | ||
}, | ||
"lint-staged": { | ||
"*.@(js|ts|tsx)": [ | ||
"eslint --cache --fix", | ||
"prettier --cache --write" | ||
], | ||
"*.@(css)": [ | ||
"stylelint --cache --fix", | ||
"prettier --cache --write" | ||
], | ||
"*.!(css|js|ts|tsx)": "prettier --cache --ignore-unknown --write" | ||
}, | ||
"simple-git-hooks": { | ||
"commit-msg": "pnpm exec commitlint --edit", | ||
"pre-commit": "pnpm exec lint-staged" | ||
} | ||
} |
Oops, something went wrong.