Skip to content

freestylejs/.config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@freestylejs/config

This package provides shareable configurations for Biome and TypeScript for Freestyle.js projects.

Installation

pnpm add -D @freestylejs/config

Pkg 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:

See settings.json.

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:

See scripts.json.

Git Commit Convention

Check convention reference.

Git Ignore Configuration

Check ignore reference.

NPM Package Configuration

Check package reference.

CI Configuration

Check CI reference.

Versioning

  1. Commit all files

  2. Update pkg version using

  • patch: pnpm version patch
  • minor: pnpm version minor
  • major: pnpm version major
  1. Publish via pnpm publish

  2. Done.

About

Freestyle's shared configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published