ESLint
baseline includes a default eslint.config.js with an opinionated configuration to ensure code consistency and quality.
Configuration
If you wish to modify the linting rules, you can do so in the eslint.config.js file. For detailed information on available rules and how to configure them, refer to the official ESLint documentation.
Usage
To manually run the linter, execute the following command in your terminal:
bash
npm run lintEditor Integration
For the best development experience, it is recommended to use Visual Studio Code.
IDE Setup
The .vscode/extensions.json file suggests the appropriate extensions for optimal integration. Additionally, .vscode/settings.json is pre-configured to enable auto-fix on save, which automatically formats your .js and .vue files whenever you save your changes.