-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use shared tsconfig from design system #999
Conversation
6e29d32
to
033ef06
Compare
001c7d8
to
3242666
Compare
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.
Very cool to see these configs getting some use, thanks for your work on this! A couple comments below to get the discussion going.
3242666
to
14ed2d1
Compare
ad33043
to
f84a29e
Compare
82afc87
to
eda9eb7
Compare
143a602
to
9be015f
Compare
Signed-off-by: David Edler <[email protected]>
9be015f
to
3a54c90
Compare
@@ -13,8 +13,8 @@ | |||
"format-js-prettier": "prettier 'src/**/*.{json,jsx,tsx,ts}' 'tests/**/*.ts' --write", | |||
"format-js": "yarn format-js-eslint && yarn format-js-prettier", | |||
"lint-scss": "stylelint 'src/**/*.scss'", | |||
"lint-js-eslint": "eslint 'src/**/*.{json,tsx,ts}' 'tests/**/*.ts' .eslintrc.cjs babel.config.js", | |||
"lint-js-prettier": "prettier 'src/**/*.{json,tsx,ts}' 'tests/**/*.ts' .eslintrc.cjs babel.config.js --check", |
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.
I assume the config files are removed from the script because we updated to the latest version of eslint, and also prettier does not require them?
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.
In order to check them here, we would need to set allowJs
in the typescript config, which I'd like to avoid. Hence removing linting for the config 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.
LGTM 👍 just had a query regarding the linting scripts, but not blocking at all
Done
Fixes WD-17093