Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(website): change enabledNurseryRules to All/Recommended select #3810

Merged
merged 5 commits into from
Nov 23, 2022

Conversation

Kanary159357
Copy link
Contributor

Summary

Fixes: #3769

4d0e665
Change from NurseryRules checkbox to select that chooses Recommended/All option of lint rules.
Change select width from 100px to 110px because 'Recommend' text overflows the select box

0c5ed8b
add whitespace:pre in order to show whitespace inside <span/> tag.

AS_IS
image

TO_BE
image

Test Plan

Test on deployed playground.

@Kanary159357 Kanary159357 requested a review from a team November 21, 2022 08:48
@netlify
Copy link

netlify bot commented Nov 21, 2022

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 3fabf46
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/637d786133358800098172a8
😎 Deploy Preview https://deploy-preview-3810--docs-rometools.netlify.app/playground
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Kanary159357 Kanary159357 changed the title Feat/website lint rules feat(website): change NurseryRules to All/Recommended select Nov 21, 2022
@Kanary159357 Kanary159357 changed the title feat(website): change NurseryRules to All/Recommended select feat(website): change enabledNurseryRules to All/Recommended select Nov 21, 2022
Copy link
Contributor

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Looks good to me. Can you run pnpm format in the website folder OR format the JS files using the VS code extension?

@MichaReiser MichaReiser added the A-Website Area: website and documentation label Nov 22, 2022
@Kanary159357
Copy link
Contributor Author

Kanary159357 commented Nov 23, 2022

Formatted code and resolved conflict!

@MichaReiser MichaReiser merged commit 66217d2 into rome:main Nov 23, 2022
@Kanary159357 Kanary159357 deleted the feat/website-lint-rules branch November 23, 2022 07:25
jeysal added a commit to jeysal/rometools that referenced this pull request Nov 24, 2022
* upstream/main: (73 commits)
  fix(semantic_analyzers): style/noShoutyConstants does not recognize multiple uses of a constant. (rome#3789)
  feat(rome_js_analyze): useDefaultSwitchClauseLast (rome#3791)
  chore: run rustfmt and typo fix (rome#3840)
  feat(rome_js_analyze): use exhaustive deps support properties (rome#3581)
  website(docs): Fix text formatting (rome#3828)
  feat(rome_js_analyze): `noVoidTypeReturn` (rome#3806)
  feat(rome_cli): expose the `--verbose` flag to the CLI (rome#3812)
  fix(rome_diagnostics): allow diagnostic locations to be created without a resource (rome#3834)
  feat(rome_js_analyze): add noExtraNonNullAssertion rule (rome#3797)
  fix(rome_lsp): lsp friendly catch unwind (rome#3740)
  feat(rome_js_semantic): model improvements (rome#3825)
  feat(rome_json_parser): JSON Lexer (rome#3809)
  feat(rome_js_analyze): implement `noDistractingElements` (rome#3820)
  fix(rome_js_formatter): shothanded named import line break with default import (rome#3826)
  feat(rome_js_analyze): `noConstructorReturn` (rome#3805)
  feat(website): change enabledNurseryRules to All/Recommended select (rome#3810)
  feat(rome_js_analyze): noSetterReturn
  feat(rome_js_analyze): noConstructorReturn
  feat(rome_analyze): suppress rule via code actions (rome#3572)
  feat(rome_js_analyze): `noVar` (rome#3765)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Website Area: website and documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Undefined variables are not flagged?
2 participants