This repository was archived by the owner on Sep 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +17
-6545
lines changed
packages/eslint-config-tslint-react/lib Expand file tree Collapse file tree 9 files changed +17
-6545
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 fetch-depth : 0
2828
29- - name : Install pnpm
30- uses : pnpm/action-setup@v3
31- id : pnpm-install
32- with :
33- run_install : false
34-
35- - name : Install NodeJS ${{matrix.node-version}}
36- uses : actions/setup-node@v4
37- with :
38- node-version : ${{matrix.node-version}}
39- cache : ' pnpm'
29+ - name : Install bun
30+ uses : oven-sh/setup-bun@v2
4031
4132 - name : git config
4233 run : |
5243 run : git status --porcelain
5344
5445 - name : Install dependencies
55- run : pnpm install --frozen-lockfile
46+ run : bun install --frozen-lockfile
5647
5748 - name : Show changes after install
5849 run : git status --porcelain
6657 if [ -n "${{ github.event.inputs.pre-release-tag }}" ]; then
6758 args+=(--preRelease=${{ github.event.inputs.pre-release-tag }})
6859 fi
69- pnpm release-it "${args[@]}"
60+ bun release-it "${args[@]}"
7061 env :
7162 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7263 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 2222 with :
2323 fetch-depth : 0
2424
25- - name : Use Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v4
27- with :
28- node-version : ${{ matrix.node-version }}
29-
30- - name : Install pnpm
31- uses : pnpm/action-setup@v2
32- id : pnpm-install
33- with :
34- version : ^8.6.0
35- run_install : false
25+ - name : Install bun
26+ uses : oven-sh/setup-bun@v2
3627
3728 - name : git config
3829 run : |
@@ -44,25 +35,12 @@ jobs:
4435 env :
4536 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4637
47- - name : Get pnpm store directory
48- id : pnpm-cache
49- run : |
50- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
51-
52- - name : Setup pnpm cache
53- uses : actions/cache@v4
54- with :
55- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
56- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
57- restore-keys : |
58- ${{ runner.os }}-pnpm-store-
59-
6038 - name : Install dependencies
61- run : pnpm install
39+ run : bun install --frozen-lockfile
6240
6341 - name : Version
6442 run : |
65- pnpm release-it --release-version
43+ bun release-it --release-version
6644 env :
6745 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6846 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 22[ -n " $CI " ] && exit 0
33. " $( dirname " $0 " ) /_/husky.sh"
44
5- pnpm exec commitlint --edit $1
5+ bun commitlint --edit $1
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- pnpm run precommit
3+ bun precommit
Original file line number Diff line number Diff line change 66 "url" : " https://github.com/ChiefORZ/code-styles"
77 },
88 "author" :
" ChiefORZ <[email protected] >" ,
9+ "workspaces" : [" packages/*" ],
910 "scripts" : {
10- "postinstall " : " is-ci || husky install " ,
11- "precommit " : " true "
11+ "precommit " : " true " ,
12+ "prepare " : " is-ci || husky "
1213 },
1314 "resolutions" : {
1415 "@typescript-eslint/eslint-plugin" : " ^8.11.0" ,
2324 "is-ci" : " ^3.0.1" ,
2425 "release-it" : " ^16.3.0"
2526 },
26- "packageManager " :
" [email protected] +sha512.98a80fd11c2e7096747762304106432b3ddc67dcf54b5a8c01c93f68a2cd5e05e6821849522a06fb76284d41a2660d5e334f2ee3bbf29183bf2e739b1dafa771" 27+ "trustedDependencies " : [ " @biomejs/biome " ]
2728}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const compat = new FlatCompat({
2323export default [
2424 ...fixupConfigRules (
2525 compat . extends (
26+ 'airbnb' ,
2627 '@kesills/airbnb-typescript' ,
2728 'plugin:@typescript-eslint/recommended' ,
2829 'plugin:react-hooks/recommended' ,
@@ -120,6 +121,8 @@ export default [
120121 'react/jsx-wrap-multilines' : 'off' ,
121122 'react/no-unescaped-entities' : 'off' ,
122123 'react/prop-types' : 'off' ,
124+ 'react/react-in-jsx-scope' : 'off' ,
125+ 'react/require-default-props' : 'off' ,
123126 'sort-keys-fix/sort-keys-fix' : 'warn' ,
124127 'validate-jsx-nesting/no-invalid-jsx-nesting' : 'error' ,
125128 } ,
You can’t perform that action at this time.
0 commit comments