Run npx husky install
to activate pre-commit eslint check
- Testing with jest :
npm test
- Run e2e tests :
npm run cy:open
To add aliases, just add them in jsconfig.js. They will automatically be added in eslint, jest and gatsby configs.
Example :
{
"compilerOptions": {
"jsx": "react",
"baseUrl": ".",
"paths": {
"~myAlias": ["path/to/alias/*"]
}
}
}