Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tools

    Discontinued Unified developer tools for JavaScript, TypeScript, and the web

  • For now, Rome implements most of the ESLint recommended rules (including TypeScript ESLint) and some additional rules that are enabled by default. In the future, you can expect a recommended preset that is a superset of the ESLint recommended preset. So if you're not heavily customising ESLint, you should be able to use Rome.

    Otherwise, most of the rules are not fine-tunable in the way that ESLint is. Rome tries to provide the experience that Prettier provided in the formatting tool: good defaults for a near-zero configuration experience. It tries to adopt the conventions of the JS/TS community. Still, some configuration is provided when the community is divided on some opinions (e.g. space vs. tab indentation, semicolons or as-needed semicolons, ...).

    There is an open issue [1] for listing equivalent rules between ESLint and Rome. Expect more documentation in the future, and maybe a migration tool.

    If I had been one of the founders of Rome, I could have pushed for more compatibility with ESLint. In particular, using the same naming conventions and thus the same names for most rules, and recognising ESLint ignore comments.

    [1] https://github.com/rome/tools/issues/3892

  • semver

    Semantic Versioning Specification

  • Makes sense. In 0.x.y releases, any version changes are allowed to have backwards-incompatible changes. Authors typically use "minor" version changes to indicate this.

    https://semver.org/#spec-item-4

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

  • This seems to have worked for Ruff in the Python world: https://github.com/charliermarsh/ruff

    It re-implements a bunch of popular linting rulesets & plugins in Rust and is incredibly fast, especially compared to the other tools.

  • orogene

    Makes `node_modules/` happen. Fast. No fuss.

  • Yarn is actually slower than npm these days. Here's some current benchmarks:

    https://github.com/orogene/orogene/blob/main/BENCHMARKS.md

  • dprint

    Pluggable and configurable code formatting platform written in Rust.

  • I mean, I know I am a bad person because of those long names, but that is how life goes sometimes! And the blank line there at the top is just very important to like, catch one's breath, while reading this code.

    (I'm really just posting this in the hopes that somebody will throw me a "Bro, just use hpstrlnt, it totally lets you configure that!" -- I have not actually tried Rome to see if it does (it's Monday morning and I'm not quite ready to be disappointed again...))

    [1]: dprint is good, and I recommend it as the best code formatter I currently know of: https://dprint.dev/

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Biome.js : Prettier+ESLint killer ?

    3 projects | dev.to | 18 Apr 2024
  • Rescuing legacy Node.js projects with Bun

    1 project | dev.to | 6 Apr 2024
  • BiomeJS 2024 Roadmap

    5 projects | news.ycombinator.com | 22 Jan 2024
  • Oxlint – written in Rust – 50-100 Times Faster than ESLint

    13 projects | news.ycombinator.com | 15 Dec 2023
  • Biome

    1 project | news.ycombinator.com | 29 Aug 2023