-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
[core] Remove duplicate eslint rule #4559
base: master
Are you sure you want to change the base?
Conversation
* We do however want to keep the rules in place to ensure the examples are following | ||
* a reasonably similar code style as the library. | ||
*/ | ||
files: ['examples/**/*'], |
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.
Removed, duplicates with https://github.com/mui/material-ui/blob/060c55cb219bfc33633f7e61484884ea6d37bfdf/.eslintrc.js#L529
@@ -108,29 +108,6 @@ module.exports = { | |||
files: ['**/*.test.js', '**/*.test.ts', '**/*.test.tsx'], | |||
extends: ['plugin:testing-library/react'], | |||
}, | |||
{ | |||
files: ['docs/src/modules/components/**/*.js'], |
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.
Removed, duplicate with
Line 102 in 4fa09eb
'material-ui/no-hardcoded-labels': 'off', // We are not really translating the docs/website anymore |
// TODO move rule into the main repo once it has upgraded | ||
'@typescript-eslint/return-await': 'off', |
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.
b6c9569
to
93dae5d
Compare
93dae5d
to
31f9c7e
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.
👍🏻
Eslint rule already defined.
The fewer duplicated line of code this file has in Toolpad, the stronger the config in the main repo, the closest to success for the shared config file we are.
I noticed this with #4350.