-
Notifications
You must be signed in to change notification settings - Fork 6
Update configs from TypeScript SDK integration #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 'no-unreachable-loop': 'error', | ||
| 'no-undef-init': 'error', | ||
| 'no-underscore-dangle': 'error', | ||
| 'no-underscore-dangle': ['error', { allow: ['__VERSION__'] }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See viamrobotics/viam-typescript-sdk#52 for why __VERSION__ is added to the allow list
| uses: JS-DevTools/npm-publish@1641d030cee266f093503c555ee9303ae7aede16 | ||
| with: | ||
| package: ${{ input.package }} | ||
| package: ${{ inputs.package }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Silly typo I introduced in #6
|
|
||
| // Bundler compatibility | ||
| "jsx": "preserve", | ||
| "isolatedModules": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This setting is redundant with verbatimModuleSyntax below and shouldn't have been included in the first place. My bad!
| 'import/order': 'error', | ||
|
|
||
| // Extra SonarJS rules | ||
| 'sonarjs/cognitive-complexity': ['error', 20], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
20 matches the current value of the vanilla eslint complexity setting in viamrobotics/app
DTCurrie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
This PR is collecting updates in reaction to integrating this config into viam-typescript-sdk. See viamrobotics/viam-typescript-sdk#52 for a little more context