@faasjs/lint

3.7.0 • Public • Published

@faasjs/lint

Lint tool for FaasJS, based on Biome.

License: MIT NPM Version

Install

  1. Install @faasjs/lint:
npm install @faasjs/lint
  1. Create biome.json with content:
{
  "extends": ["@faasjs/lint/biome"]
}
  1. Add the following script to package.json:
  "scripts": {
    "lint": "biome lint"
  }

Tips for VSCode

  1. Install Biome extension.
  2. Update your .vscode/settings.json with the following content:
{
  "editor.codeActionsOnSave": {
    "source.fixAll": "explicit",
    "quickfix.biome": "explicit"
  },
  "editor.formatOnSave": true
}

References

Troubleshooting

Readme

Keywords

none

Package Sidebar

Install

npm i @faasjs/lint

Weekly Downloads

165

Version

3.7.0

License

MIT

Unpacked Size

4.23 kB

Total Files

4

Last publish

Collaborators

  • zfben