@faasjs/lint
v4.7.2
Published
Lint tool for FaasJS, based on [Biome](https://biomejs.dev).
Downloads
2,442
Readme
@faasjs/lint
Lint tool for FaasJS, based on Biome.
Install
- Install
@faasjs/lint
:
npm install @faasjs/lint
- Create
biome.json
with content:
{
"extends": ["@faasjs/lint/biome"]
}
- Add the following script to
package.json
:
"scripts": {
"lint": "biome lint"
}
Tips for VSCode
- Install Biome extension.
- Update your
.vscode/settings.json
with the following content:
{
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"quickfix.biome": "explicit"
},
"editor.formatOnSave": true
}
References
Troubleshooting
- If you encounter any issues, please refer to the FaasJS documentation or open an issue on GitHub.