Skip to content

Commit

Permalink
refactor: remove .eslintrc.js from build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rifont committed Sep 2, 2024
1 parent 12e3ba8 commit 6911bfe
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,6 @@
"packages/notification-center/rollup.config.mjs",
"packages/js/tsup.config.ts",
"apps/widget/public/iframeResizer.contentWindow.js",
".eslintrc.js",
".vscode/settings.json",
"*/**/.vscode/settings.json",
"apps/worker/README.md",
Expand Down
2 changes: 1 addition & 1 deletion apps/api/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"baseUrl": "./src",
"types": ["node", "mocha"]
},
"include": [".eslintrc.js", "src/**/*", "src/**/*.d.ts"],
"include": ["src/**/*", "src/**/*.d.ts"],
"exclude": ["node_modules", "**/*.spec.ts", "**/*.e2e.ts", "**/*.e2e-ee.ts"]
}
2 changes: 1 addition & 1 deletion apps/inbound-mail/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"baseUrl": "./src",
"types": ["node", "mocha"]
},
"include": [".eslintrc.js", "src/**/*", "src/**/*.d.ts"],
"include": ["src/**/*", "src/**/*.d.ts"],
"exclude": ["node_modules", "**/*.spec.ts"]
}
2 changes: 1 addition & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN --mount=type=cache,id=pnpm-store-web,target=/root/.pnpm-store\

RUN pnpm add @babel/core -w

COPY [".eslintrc.js",".prettierrc",".prettierignore", "./"]
COPY [".prettierrc",".prettierignore", "./"]

RUN NX_DAEMON=false pnpm build:web
# end build stage
Expand Down
2 changes: 1 addition & 1 deletion apps/webhook/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"baseUrl": "./src",
"types": ["node", "mocha"]
},
"include": [".eslintrc.js", "src/**/*", "src/**/*.d.ts"],
"include": ["src/**/*", "src/**/*.d.ts"],
"exclude": ["node_modules", "**/*.spec.ts", "**/*.e2e.ts"]
}
1 change: 0 additions & 1 deletion apps/widget/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ COPY --chown=1000:1000 packages/node ./packages/node
COPY --chown=1000:1000 tsconfig.json .
COPY --chown=1000:1000 tsconfig.base.json .

COPY --chown=1000:1000 .eslintrc.js .
COPY --chown=1000:1000 .prettierrc .
COPY --chown=1000:1000 .prettierignore .
COPY --chown=1000:1000 nx.json .
Expand Down
2 changes: 1 addition & 1 deletion apps/worker/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"baseUrl": "./src",
"types": ["node", "mocha"]
},
"include": [".eslintrc.js", "src/**/*", "src/**/*.d.ts"],
"include": ["src/**/*", "src/**/*.d.ts"],
"exclude": ["node_modules", "**/*.spec.ts", "**/*.e2e.ts"]
}
2 changes: 1 addition & 1 deletion apps/ws/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"baseUrl": "./src",
"types": ["node"]
},
"include": [".eslintrc.js", "src/**/*", "src/**/*.d.ts"],
"include": ["src/**/*", "src/**/*.d.ts"],
"exclude": ["node_modules", "**/*.spec.ts"]
}

0 comments on commit 6911bfe

Please sign in to comment.