Skip to content

Commit

Permalink
change to flat config in eslint webpack plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
NFriedo committed Sep 27, 2024
1 parent f59ca33 commit 13f888e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY package.json package-lock.json ./
COPY lib/eslint-plugin-schulcloud ./lib/eslint-plugin-schulcloud
RUN npm ci

COPY babel.config.js .eslintrc.js LICENSE.md .prettierrc.js tsconfig.json tsconfig.build.json .eslintignore .prettierignore ./
COPY babel.config.js eslint.config.js LICENSE.md .prettierrc.js tsconfig.json tsconfig.build.json .prettierignore ./
COPY public ./public
COPY src ./src
COPY config/webpack ./config/webpack
Expand Down
2 changes: 2 additions & 0 deletions config/webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ module.exports = {
extensions: [".js", ".jsx", ".vue", ".ts", ".tsx"],
failOnWarning: false,
failOnError: true,
configType: "flat",
eslintPath: "eslint/use-at-your-own-risk",
}),
],

Expand Down

0 comments on commit 13f888e

Please sign in to comment.