Skip to content
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

[test] Add missing types linting for x-grid #357

Merged
merged 2 commits into from
Oct 1, 2020

Conversation

oliviertassinari
Copy link
Member

No description provided.

@@ -24,6 +24,12 @@
"datagrid",
"data-grid"
],
"scripts": {
"precommit": "npm run lint",
"lint": "../../../node_modules/.bin/tsc --noEmit && eslint 'src/**/*.{ts,tsx}' --quiet --fix -c ../../../.eslintrc.js && npm run lint:css",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's still useful the lint script here, if we need to lint from the root folder

Copy link
Member Author

@oliviertassinari oliviertassinari Sep 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong preferences. We lint eslint from the root but typescript from each package. I personally never run eslint from the CLI (always in the CI and IDE). I run TypeScript from time to time in the CLI and in nested folders as it has cross-file dependencies. Happy to only have eslint at the root.

@oliviertassinari oliviertassinari merged commit 97613fe into mui:master Oct 1, 2020
@oliviertassinari oliviertassinari deleted the lint-x-grid-tests branch October 1, 2020 09:35
dtassone pushed a commit to dtassone/material-ui-x that referenced this pull request Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants