Skip to content

Commit

Permalink
feat: reuse configs from kcws
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Feb 27, 2024
1 parent 728ff6f commit 36f12d9
Show file tree
Hide file tree
Showing 17 changed files with 1,705 additions and 138 deletions.
8 changes: 8 additions & 0 deletions actions/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const createConfig = require("@kcws/eslint-config")
module.exports = createConfig({
cwd: __dirname,
profile: "node",
typescript: true,
jest: true,
prettier: true,
})
99 changes: 0 additions & 99 deletions actions/.eslintrc.js

This file was deleted.

10 changes: 2 additions & 8 deletions actions/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
/** @type {import("prettier").Config} */
const config = {
trailingComma: "es5",
semi: false,
singleQuote: false,
}

module.exports = config
const createConfig = require("@kcws/prettier-config")
module.exports = createConfig({})
1 change: 1 addition & 0 deletions actions/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.11.1
6 changes: 4 additions & 2 deletions actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"@actions/io": "1.1.3"
},
"devDependencies": {
"@kcws/eslint-config": "1.9.0",
"@kcws/prettier-config": "0.6.0",
"@rspack/cli": "0.3.11",
"@rspack/core": "0.3.11",
"@statoscope/webpack-plugin": "5.28.2",
Expand All @@ -45,7 +47,7 @@
"typescript": "5.3.3"
},
"engines": {
"node": ">=18 <20"
"node": ">=20 <21"
},
"packageManager": "pnpm@8.11.0"
"packageManager": "pnpm@8.15.4"
}
Loading

0 comments on commit 36f12d9

Please sign in to comment.