//vp-configbykazupon

vp-config

Vite Plus configuration for @kazupon

10
0
10
TypeScript

@kazupon/vp-config

npm version
CI

Vite Plus configuration for @kazupon

🌟 Features

  • vp fmt custom configuration
  • vp lint custom cufiguration

πŸ’Ώ Installation

vp add -D @kazupon/vp-config

πŸš€ Usage

Configurations

// vite.config.ts
import { defineConfig } from 'vite-plus'
import { defineFmtConfig, defineLintConfig } from '@kazupon/vp-config'

export default defineConfig({
  // ... something config

  fmt: defineFmtConfig({
    // Custom options of `vp fmt` (oxfmt) ...
  }),

  lint: defineLintConfig({
    // Custom options of `vp lint` (oxlint) and preset ...
  })

  // and something here ...
})

πŸ”¨ Enable oxlint built-in plugins & preset configurations

Enable oxlint built-in plugins

  • typescript
  • import
  • promise
  • unicorn
  • node

Preset configurations

The following preset configurations are supported:

Preset Powered by plugin or package Need to install oxlint / eslint plugin or package?
comments @kazupon/eslint-plugin(comment config) no (built-in)
vitest oxlint built-in plugin no (built-in)

πŸ“š API References

See the API References

©️ License

MIT

[beta]v0.14.0