-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore(eslint): use common config #382
Conversation
const page = await openStoryPage({ | ||
id: 'components-forms-select--default', | ||
device, | ||
userAgent, |
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.
unrelated. This was a TS error. I think CI doesn't check TS on test files
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.
hmm, I added a yarn ts-check
in the ci
target... it should check types in jenkins (at least in master)
@@ -4,7 +4,7 @@ import Popover from '../popover'; | |||
import {ThemeContextProvider} from '..'; | |||
import {makeTheme} from './test-utils'; | |||
|
|||
type Props = Omit<React.ComponentProps<typeof Popover>, 'children' | 'description' | 'target'>; |
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.
unrelated, ts error
src/list.tsx
Outdated
@@ -246,6 +246,7 @@ interface SwitchRowContentProps extends CommonProps { | |||
checkbox?: undefined; | |||
radioValue?: undefined; | |||
newTab?: undefined; | |||
fullPageOnWebView?: undefined; |
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 fixes a TS error in list-type-test.tsx
interface FontFace extends FontFaceDescriptors { | ||
new (family: string, source: string | ArrayBuffer, descriptors?: FontFaceDescriptors): FontFace; | ||
class FontFace extends FontFaceDescriptors { | ||
constructor( |
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.
ts error
Deploy preview for mistica-web ready! ✅ Preview Built with commit d8dc561. |
Accessibility report ℹ️ You can run this locally by executing |
package.json
Outdated
@@ -76,6 +76,7 @@ | |||
"@swc/core": "^1.2.93", | |||
"@swc/jest": "^0.2.4", | |||
"@telefonica/acceptance-testing": "^2.5.0", | |||
"@telefonica/eslint-config": "^1.0.0-beta5", |
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.
Pending on non-beta release: https://github.com/Telefonica/js-toolbox/pull/21
welcome story is broken🤭 https://mistica-web-fqpjoiea1-tuentisre.vercel.app/?path=/story/welcome-welcome--mistica |
@@ -1,4 +1,3 @@ | |||
/* eslint-disable filenames/match-regex */ |
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.
perhaps the rule could allow any *.config.js
files
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.
it does
"transform": { | ||
"react": { | ||
"runtime": "automatic" | ||
} | ||
} |
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 fixes the welcome story
Fixed |
🎉 This PR is included in version 10.14.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Telefonica/js-toolbox#21