Skip to content

[core] Fix eslint#60

Closed
oliviertassinari wants to merge 2 commits intomasterfrom
fix-eslint
Closed

[core] Fix eslint#60
oliviertassinari wants to merge 2 commits intomasterfrom
fix-eslint

Conversation

@oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 9, 2020

I have forgotten to tell eslint to lint the ts and tsx files. I will bring this change back to the main repository, we will need it there too.

@@ -1,8 +0,0 @@
module.exports = {
Copy link
Member Author

@oliviertassinari oliviertassinari Jul 9, 2020

Choose a reason for hiding this comment

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

We prefer to use the overrides key of the main eslint file. This ensures we can see all the rules at the same place. In our case, it seems we don't need this file at all.

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jul 9, 2020

@dtassone I need your help to fix the reported errors. I believe they are all relevant. If you see one you don't agree with, we can discuss it.

@oliviertassinari oliviertassinari requested a review from dtassone July 9, 2020 23:38
"lint:ci": "eslint . --report-unused-disable-directives",
"lint:fix": "eslint . --cache --fix"
"lint": "eslint . --cache --report-unused-disable-directives --ext .ts,.tsx",
"lint:ci": "eslint . --report-unused-disable-directives --ext .ts,.tsx",
Copy link
Member Author

Choose a reason for hiding this comment

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

The important change

@dtassone
Copy link
Contributor

Did you run the new lint conf on the repo?
Lint is broken on the CI

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jul 10, 2020

Lint is broken on the CI

#60 (comment). It also aims to show that the diff works, the CI should be failing without the fixes, it's the mandatory first step.

@dtassone
Copy link
Contributor

@dtassone I need your help to fix the reported errors. I believe they are all relevant. If you see one you don't agree with, we can discuss it.

Ok I will check out this branch, fix the lint errors, and update asap

@oliviertassinari
Copy link
Member Author

Closing, we will need to restart from mui/material-ui#21758

@oliviertassinari oliviertassinari deleted the fix-eslint branch July 16, 2020 10:17
@oliviertassinari oliviertassinari added the scope: data grid Changes related to the data grid. label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: data grid Changes related to the data grid.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants