From a130d1e25726f474bc2635bc0f137de1ee20a2a2 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 24 Sep 2023 12:30:44 +0200 Subject: [PATCH] [core] Simplify career (#39112) --- .eslintrc.js | 1 + crowdin.yml | 2 +- docs/data/joy/components/card/CardUsage.js | 2 +- .../templates/messages/data.tsx | 12 ++-- docs/nextConfigDocsInfra.js | 2 +- docs/{src => }/pages/careers/ROLE_TEMPLATE.md | 0 docs/pages/careers/accessibility-engineer.js | 2 +- .../pages/careers/accessibility-engineer.md | 0 docs/pages/careers/design-engineer.js | 2 +- .../pages/careers/design-engineer.md | 0 docs/{src => }/pages/careers/designer.md | 0 .../pages/careers/developer-advocate.md | 0 .../careers/developer-experience-engineer.md | 0 .../pages/careers/engineering-manager.md | 0 .../pages/careers/full-stack-engineer.md | 0 docs/pages/careers/fullstack-engineer.js | 2 +- .../pages/careers/head-of-operations.md | 0 .../pages/careers/people-operation-manager.md | 0 docs/pages/careers/product-engineer.js | 2 +- .../pages/careers/product-engineer.md | 0 .../pages/careers/product-manager.md | 0 .../careers/product-marketing-manager.js | 2 +- .../careers/product-marketing-manager.md | 0 .../pages/careers/react-community-engineer.js | 2 +- .../pages/careers/react-community-engineer.md | 0 docs/pages/careers/react-engineer-core.js | 2 +- .../pages/careers/react-engineer-core.md | 0 .../pages/careers/react-engineer-x-grid.md | 0 docs/pages/careers/react-engineer-x.js | 2 +- .../pages/careers/react-engineer-x.md | 0 docs/pages/careers/react-tech-lead-core.js | 2 +- .../pages/careers/react-tech-lead-core.md | 0 docs/pages/careers/react-tech-lead-x-grid.js | 2 +- .../pages/careers/react-tech-lead-x-grid.md | 0 .../pages/careers/senior-designer.md | 0 docs/{src => }/pages/careers/support-agent.md | 0 .../careers/technical-product-manager.md | 0 docs/pages/careers/technical-recruiter.js | 2 +- .../pages/careers/technical-recruiter.md | 0 docs/src/components/about/OurValues.tsx | 30 ++++----- docs/src/components/icon/IconImage.tsx | 9 ++- .../productBaseUI/BaseUIComponents.tsx | 2 +- .../productBaseUI/BaseUITestimonial.tsx | 1 + .../eslint-plugin-material-ui/src/index.js | 1 + .../src/rules/straight-quotes.js | 43 +++++++++++++ .../src/rules/straight-quotes.test.js | 63 +++++++++++++++++++ .../markdownlint-rule-mui/straight-quotes.js | 5 +- 47 files changed, 154 insertions(+), 41 deletions(-) rename docs/{src => }/pages/careers/ROLE_TEMPLATE.md (100%) rename docs/{src => }/pages/careers/accessibility-engineer.md (100%) rename docs/{src => }/pages/careers/design-engineer.md (100%) rename docs/{src => }/pages/careers/designer.md (100%) rename docs/{src => }/pages/careers/developer-advocate.md (100%) rename docs/{src => }/pages/careers/developer-experience-engineer.md (100%) rename docs/{src => }/pages/careers/engineering-manager.md (100%) rename docs/{src => }/pages/careers/full-stack-engineer.md (100%) rename docs/{src => }/pages/careers/head-of-operations.md (100%) rename docs/{src => }/pages/careers/people-operation-manager.md (100%) rename docs/{src => }/pages/careers/product-engineer.md (100%) rename docs/{src => }/pages/careers/product-manager.md (100%) rename docs/{src => }/pages/careers/product-marketing-manager.md (100%) rename docs/{src => }/pages/careers/react-community-engineer.md (100%) rename docs/{src => }/pages/careers/react-engineer-core.md (100%) rename docs/{src => }/pages/careers/react-engineer-x-grid.md (100%) rename docs/{src => }/pages/careers/react-engineer-x.md (100%) rename docs/{src => }/pages/careers/react-tech-lead-core.md (100%) rename docs/{src => }/pages/careers/react-tech-lead-x-grid.md (100%) rename docs/{src => }/pages/careers/senior-designer.md (100%) rename docs/{src => }/pages/careers/support-agent.md (100%) rename docs/{src => }/pages/careers/technical-product-manager.md (100%) rename docs/{src => }/pages/careers/technical-recruiter.md (100%) create mode 100644 packages/eslint-plugin-material-ui/src/rules/straight-quotes.js create mode 100644 packages/eslint-plugin-material-ui/src/rules/straight-quotes.test.js diff --git a/.eslintrc.js b/.eslintrc.js index 3c8f3dccaadd85..cc9dc0004bc6b3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -119,6 +119,7 @@ module.exports = { 'material-ui/docgen-ignore-before-comment': 'error', 'material-ui/rules-of-use-theme-variants': 'error', 'material-ui/no-empty-box': 'error', + 'material-ui/straight-quotes': 'error', 'react-hooks/exhaustive-deps': ['error', { additionalHooks: 'useEnhancedEffect' }], 'react-hooks/rules-of-hooks': 'error', diff --git a/crowdin.yml b/crowdin.yml index ba7bae59fc4623..674e004717e187 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -10,7 +10,7 @@ files: - /docs/src/pages/discover-more/backers/* - /docs/src/pages/discover-more/roadmap/* - /docs/src/pages/company/**/* - - /docs/src/pages/careers/**/* + - /docs/pages/careers/**/* translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension% - source: /docs/data/**/*.md ignore: diff --git a/docs/data/joy/components/card/CardUsage.js b/docs/data/joy/components/card/CardUsage.js index e1e51637bc1a42..e2876a32355570 100644 --- a/docs/data/joy/components/card/CardUsage.js +++ b/docs/data/joy/components/card/CardUsage.js @@ -63,7 +63,7 @@ export default function CardUsage() { Yosemite - Your Next Adventure - Yosemite National Park is in California’s Sierra Nevada mountains. + {"Yosemite National Park is in California's Sierra Nevada mountains."}