Skip to content

Commit

Permalink
fix(ci): packages eslint itegration issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sawaYch committed Mar 27, 2024
1 parent 8bd4e0d commit 9c3c0b4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
13 changes: 11 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/eslint-config/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const project = resolve(process.cwd(), "tsconfig.json");
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: [
// "eslint:recommended",
"eslint:recommended",
"prettier",
"eslint-config-turbo",
"next/core-web-vitals",
Expand Down
9 changes: 9 additions & 0 deletions packages/next-youtube-livechat/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ["@repo/eslint-config/next.js"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: true,
},
};
11 changes: 10 additions & 1 deletion packages/next-youtube-livechat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,18 @@
"react-dom": "^18"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.1.1",
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"tsup": "^8.0.2"
"@types/eslint": "^8.56.5",
"tsup": "^8.0.2",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.3.0",
"typescript": "^5"
},
"files": [
"dist",
Expand Down

0 comments on commit 9c3c0b4

Please sign in to comment.