forked from mui/mui-public
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b94945e
commit fa10432
Showing
31 changed files
with
174 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
/tools-public/toolpad/**/*.yml | ||
.cache | ||
/.git | ||
/contributor-dashboard-legacy/ | ||
/tools-public/toolpad/.generated/ | ||
/tools-public/toolpad/**/*.yml | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
const path = require('path'); | ||
const baseline = require('@mui/monorepo/.eslintrc'); | ||
|
||
module.exports = { | ||
...baseline, | ||
settings: { | ||
'import/resolver': { | ||
webpack: { | ||
config: path.join(__dirname, './webpackBaseConfig.js'), | ||
}, | ||
}, | ||
}, | ||
/** | ||
* Sorted alphanumerically within each group. built-in and each plugin form | ||
* their own groups. | ||
*/ | ||
rules: { | ||
...baseline.rules, | ||
// No time for this | ||
'react/prop-types': 'off', | ||
'jsx-a11y/control-has-associated-label': 'off', | ||
// No time for this | ||
'jsx-a11y/no-autofocus': 'off', | ||
}, | ||
overrides: [ | ||
...baseline.overrides, | ||
{ | ||
files: [ | ||
// matching the pattern of the test runner | ||
'accounting/**', | ||
'lambda/**', | ||
'BI/**', | ||
'web/**', | ||
], | ||
rules: { | ||
'no-console': 'off', | ||
'import/no-unresolved': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ node_modules | |
# production | ||
/build | ||
|
||
src | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
import ReactDOM from "react-dom"; | ||
import * as React from 'react'; | ||
import * as ReactDOM from "react-dom"; | ||
import App from "./App"; | ||
import * as serviceWorker from "./serviceWorker"; | ||
|
||
const root = ReactDOM.unstable_createRoot(document.getElementById("root")); | ||
root.render(<App />); | ||
|
||
// If you want your app to work offline and load faster, you can change | ||
// unregister() to register() below. Note this comes with some pitfalls. | ||
// Learn more about service workers: https://bit.ly/CRA-PWA | ||
serviceWorker.unregister(); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "eslint-plugin-material-ui", | ||
"version": "0.1.18", | ||
"private": true, | ||
"description": "Custom eslint rules for MUI.", | ||
"main": "src/index.js", | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"scripts": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mui/material-ui.git" | ||
}, | ||
"license": "MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@mui/monorepo/packages/eslint-plugin-material-ui'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '@mui/monorepo/scripts/deduplicate.mjs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.