Skip to content

Commit

Permalink
Merge pull request #253 from ringcentral/WAT-4016
Browse files Browse the repository at this point in the history
WAT-4016 WAT-4049 WAT-2874
  • Loading branch information
ArtMathArt authored Nov 12, 2024
2 parents f9c8242 + 1820651 commit 7f93a9d
Show file tree
Hide file tree
Showing 108 changed files with 14,407 additions and 55,680 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ ringcentralPreset.extends = ringcentralPreset.extends.map((item) => {
return item;
});

ringcentralPreset.settings['import/parsers'] = {
'@typescript-eslint/parser': ['.ts', '.tsx']
};

ringcentralPreset.settings['import/resolver'].typescript = {
...ringcentralPreset.settings['import/resolver'].typescript,
project: [
'./packages/**/*/tsconfig.json',
'./core/**/*/tsconfig.json',
],
};

module.exports = {
...ringcentralPreset,
globals: {
Expand Down Expand Up @@ -42,6 +54,7 @@ module.exports = {
'@typescript-eslint/no-var-requires': 'off', // require is ok
'@typescript-eslint/no-unused-expressions': 'off', // no-unused-expressions is same

'@typescript-eslint/no-unused-vars': 'off', // not working on CI
'@typescript-eslint/no-unused-vars': 'off', // not working on CI,
'import/namespace': 'warn' // Due to bugs https://github.com/import-js/eslint-plugin-import/issues/1845 https://github.com/import-js/eslint-plugin-import/issues/1883
},
};
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build:
strategy:
matrix:
node-version: [16, 18]
node-version: [16, 18, 22]
os: [ubuntu-latest, macos-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'

- name: Config git user
Expand Down
Loading

0 comments on commit 7f93a9d

Please sign in to comment.