Skip to content
form8ionPublic

About

form8ion plugin for projects that manage code style with prettier

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,419 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier

form8ion plugin for projects that manage code style with prettier

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Features

  • Configures prettier in the scaffolded project to extend the provided shareable config
  • Installs the provided shareable config
  • Installs the related eslint config and configures eslint to use it

Notes

  • prettier will only be configured if a config scope is defined
  • the shareable config is expected to define a dependency on prettier, so the scaffolded project will not be configured to depend directly on prettier
  • the pretter and eslint config names are defined by convention, so packages that are named as @<your-scope>/prettier-config and @<your-scope>/eslint-config-prettier are expected to exist

Usage

MIT license npm Try @form8ion/prettier on RunKit node

Installation

$ npm install @form8ion/prettier --save-prod

Example

Import

import {scaffold} from '@form8ion/prettier';

Execute

(async () => {
  await scaffold({projectRoot: process.cwd(), config: {scope: '@foo'}});
})();

Contributing

PRs Welcome Commitizen friendly Conventional Commits semantic-release: angular Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test

About

form8ion plugin for projects that manage code style with prettier

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages