brianperry β credited mitchellmarkoff β .
mitchellmarkoff β created an issue.
mitchellmarkoff β created an issue.
mitchellmarkoff β created an issue.
brianperry β credited mitchellmarkoff β .
mitchellmarkoff β created an issue.
mitchellmarkoff β created an issue.
mitchellmarkoff β created an issue.
mitchellmarkoff β made their first commit to this issueβs fork.
brianperry β credited mitchellmarkoff β .
mitchellmarkoff β created an issue.
mitchellmarkoff β made their first commit to this issueβs fork.
mitchellmarkoff β created an issue.
mitchellmarkoff β made their first commit to this issueβs fork.
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.