@freestylejs/config
v1.2.5
Published
Core configurations for freestyle codebase.
Downloads
41
Maintainers
Readme
@freestylejs/config
This package provides shareable configurations for Biome and TypeScript for Freestyle.js projects.
Installation
pnpm add -D @freestylejs/configPkg Usage
Biome
To use the shareable Biome configuration, create a biome.json file in the root of your project and extend the configuration from this package:
{
"extends": ["@freestylejs/config/biome"]
}TypeScript
To use the shareable TypeScript configuration, create a tsconfig.json file in the root of your project and extend the configuration from this package:
{
"extends": "@freestylejs/config/tsconfig",
"include": ["src"]
}Template Usage
VSCode Settings
To use the recommended VSCode settings for Biome, create a vscode/settings.json file in the root of your project and add the following configuration:
Scripts Configuration
To use the recommended scripts for Biome, create a scripts/scripts.json file in the root of your project and add the following configuration:
Git Commit Convention
Git Ignore Configuration
NPM Package Configuration
CI Configuration
Versioning
Commit all files
Update pkg version using
- patch:
pnpm version patch - minor:
pnpm version minor - major:
pnpm version major
Publish via
pnpm publishDone.
