@viewlint/create-config
v1.0.1
Published
Interactive initializer for ViewLint configuration
Readme
@viewlint/create-config
@viewlint/create-config is the interactive initializer for ViewLint configuration files.
Usage
npx @viewlint/create-config@latestOr:
npm init @viewlint/config@latestWhat it does
- Asks which preset to use (
rules/recommendedorrules/all) - Asks whether to generate TypeScript or JavaScript config
- Writes a
viewlint.config.tsorviewlint.config.mjsfile - Optionally installs
viewlintand@viewlint/rules - If no
package.jsonexists, can create one before installing dependencies
When to use it
- First-time ViewLint setup
- Fast project bootstrap in a repo that does not yet have
viewlint.config.* - Standardizing setup across multiple projects
For more info, see Getting Started in the ViewLint Documentation.
