1.0.5-md • Published 2 years ago

vite-plugin-ls-lint v1.0.5-md

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago
Project structure
├── src
├── node_modules
└── .gitignore
└── ...
├── .ls-lint.yml
├── ...
├── package.json
├── package-lock.json
└── vite.config.js/ts

🚀 Quickstart

  1. Install with your favorite package manager:

    • pnpm : pnpm i vite-plugin-ls-lint --save-dev
    • npm : npm i vite-plugin-ls-lint --save-dev
  2. Add the plugin into vite.config.js/ts:

import { defineConfig } from 'vite'
// other imports
import lsLintPlugin from 'vite-plugin-ls-lint'

export default defineConfig({
  plugins: [
    // ... other plugins
    lsLintPlugin()
  ],
})
  1. Add your ls-lint.yml configuration file, example:
ls:
  .js: snake_case
  .ts: snake_case | camelCase
  .d.ts: PascalCase
  .html: regex:[a-z0-9]+

ignore:
  - node_modules

📝 License

Copyright © 2023 Alonso Galicia.
This project is under MIT license.

1.0.5-md

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago