Skip to content

Commit bf4fb61

Browse files
[FSSDK-12169] package manager update (#313)
* fix husky 9 setup and eslint config * prepare script update * CI update * lint script update
1 parent a6a7f5c commit bf4fb61

File tree

10 files changed

+10493
-5125
lines changed

10 files changed

+10493
-5125
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ module.exports = {
2424
'@typescript-eslint/camelcase': 'off',
2525
'@typescript-eslint/no-empty-function': 'off',
2626
'@typescript-eslint/no-shadow': 'error',
27+
'@typescript-eslint/no-explicit-any': 'warn',
28+
'@typescript-eslint/no-unused-vars': 'warn',
2729
},
2830
};

.github/workflows/react.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node: [ '14', '16', '18', '20' ]
15+
node: [ '18', '20', '22', '24' ]
1616
steps:
1717
- name: Checkout branch
1818
uses: actions/checkout@v3
@@ -21,9 +21,9 @@ jobs:
2121
with:
2222
node-version: ${{ matrix.node }}
2323
- name: Install dependencies
24-
run: yarn install
24+
run: npm install
2525
- name: Run tests
26-
run: yarn test
26+
run: npm test
2727

2828
coverage:
2929
name: Jest Coverage Report

.github/workflows/react_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_REACT_TO_NPM_FROM_GITHUB }}
2323

2424
- name: Install dependencies
25-
run: yarn install
25+
run: npm install
2626

2727
- id: npm-tag
2828
name: Determine NPM tag

.husky/pre-commit

100755100644
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx lint-staged

0 commit comments

Comments
 (0)