πŸ‡ΊπŸ‡ΈUnited States @mitchellmarkoff

Account created on 9 September 2022, about 2 years ago
#

Merge Requests

Recent comments

πŸ‡ΊπŸ‡ΈUnited States mitchellmarkoff

mitchellmarkoff β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States mitchellmarkoff

mitchellmarkoff β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States mitchellmarkoff

On their own, Drupal Core’s JS Standards should mostly suffice as a starting point for this project. The usage of the eslint-config-airbnb is already familiar to most in the JS ecosystem and is well documented.

Unfortunately, the AirBnb style guide does not officially offer TypeScript support. However, there is a very popular npm package eslint-config-airbnb-typescript (Git Repo) that gives us an easy way to add TypeScript support to these design standards.

Since we are planning on building on top of the existing Drupal JS Coding Standards with only a minor adjustment for now, I don’t think a follow up issue is needed to socialize a new set of standards.

As this project will be using TypeScript, it makes the most sense to use TSDoc over the current doc standard β†’ of JSDoc3. TSDoc will provide better integration with the TS type system, enabling support for advanced types. It will also ensure a consistent type interface which will keep this codebase clean and easy to maintain.

Production build 0.71.5 2024