Skip to content

AsheronDB/asherondb-next

Repository files navigation

AsheronDB Website

https://asherondb.com

Development

Code Style

This project uses Nuxt's relatively new (as of 2024/03/22) eslint-config.

To lint the entire project, run:

npm run lint
npm run lint:fix # to fix

Note: This doesn't always fix everything which may be due to a mistake in how I've set it up.

Editor integration

If you are using Visual Studio Code and want editor integration,

  1. Install the following extensions:
  1. Use the following config to enable autoformatting:

    {
        "eslint.experimental.useFlatConfig": true,
        "editor.formatOnSave": false,
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": "explicit"
        }
    }