Just a minimalist sandbox/boilerplate to train your skills with javascript, eslint and jest on kata/exercices or something else.
➡️ Obvious Note: Node 18 (Long Time Support) is recommended in any context.
➡️ Obvious Note: install dependencies
npm i
-
eslint follow "standard" rules (with few personal choices*) feel free to adapt them to your usage
npm run lint
npm run lint:fix
"rules": { "indent": ["error", 4], "comma-dangle": ["error", "always-multiline"], "quotes": ["error", "single"], "space-before-function-paren": ["error", "never"] }
-
jest is configured by default (simpliest config file to accept Node16 modules without babel), feel free to custom it
npm run test
npm run test:watch
npm run test:coverage