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

feat(rome_js_analyze): implement noDistractingElements #3820

Merged
merged 8 commits into from
Nov 23, 2022
Merged

feat(rome_js_analyze): implement noDistractingElements #3820

merged 8 commits into from
Nov 23, 2022

Conversation

95th
Copy link
Contributor

@95th 95th commented Nov 21, 2022

Summary

Closes #3814

Test Plan

cargo test -p rome_js_analyze -- no_distracting_elements

Enforces that no distracting or elements are used. These elements are visually distracting and can cause accessibility issues with visually impaired users. Such elements are also deprecated, and should not be used.

@95th 95th requested a review from a team November 21, 2022 17:35
@netlify
Copy link

netlify bot commented Nov 21, 2022

Deploy Preview for docs-rometools ready!

Name Link
🔨 Latest commit 449cb40
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/637dd56fa484a1000963acbe
😎 Deploy Preview https://deploy-preview-3820--docs-rometools.netlify.app
📱 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.

@MichaReiser MichaReiser merged commit e526178 into rome:main Nov 23, 2022
@95th 95th deleted the no_distracting_elements branch November 23, 2022 10:47
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

noDistractingElements
3 participants