adrianbrowning / prisma-ts-select

A TypeSafe primsa extension allowing more fine grain control of selects
MIT License
2 stars 0 forks source link

CI: Husky, ESLint, StyleLint, knip.dev #18

Open adrianbrowning opened 4 months ago

adrianbrowning commented 4 months ago

Setup:

echo $"$MESSAGE\n\n$TICKET" > $FILE


- [ ] Eslint  both packages

"lint": "tsc --noEmit ; eslint \"src/*/.{j,t}s{,x}\" --max-warnings=0 --cache", "lint:fix": "eslint \"src/*/.{j,t}s{,x}\" --cache --max-warnings=0 --fix",

"knip": { "entry": [ "scripts/*/.{js,ts}" ], "project": [ "*/.{js,ts}" ], "ignoreBinaries": [ "date" ], "ignoreDependencies": [ "prisma-.+" ] },

```commitlinit.config.js
export default {
  "extends": [ "@commitlint/config-conventional" ],
  "rules": {
    "subject-case": [ 2, "always", [ "sentence-case", "lower-case" ]],
  },
};