@hmp-global/hmp-dev-tools
v1.0.1
Published
Development tool suite with configuration files.
Readme
HMP Dev Tools
A collection of predefined dev tool dependencies and their respective configuration files.
Task
https://taskfile.dev/
Usage
Assuming you are using the standard DDEV setup:
- Create a
Taskfile.ymlat the root of your project. - Add the following:
includes: hmp-dev-tools: taskfile: ./node_modules/@hmp-global/hmp-dev-tools/configs/Taskfile.yml optional: true flatten: true - Run
ddev task -aand verify this package's tasks appear in the list.
ESLint
https://eslint.org/
8.x is outdated, but we use it because that's what Drupal core uses. See https://github.com/drupal/drupal/blob/main/core/package.json.
Usage
ln -s ./node_modules/@hmp-global/hmp-dev-tools/configs/.eslintrc.json .eslintrc.jsonStylelint
https://stylelint.io/
Usage
ln -s ./node_modules/@hmp-global/hmp-dev-tools/configs/stylelint.config.mjs stylelint.config.mjs