@merrywhether/config

3.1.1 • Public • Published

@merrywhether/config

npm version Renovate dashboard Lint Status Version

Common config files for @merrywhether projects

Usage

Installation:

pnpm add -D @merrywhether/config

This will generate a .projenrc.js file in the root of your project. Update that config with your desired settings and then run node .projenrc.js to have it create the appropriate configuration files.

Configuration Details

ESLint

The base ESLint configuration includes the following plugins/configs:

When the typescript option is selected, the following are added:

When the react option is selected, the following are added:

When the solid option is selected, the following are added:

Prettier

Uses the default Prettier settings with the following changes:

  • experimentalTernaries: true (embrace the future)
  • proseWrap: always (wrapping Markdown).
  • singleQuote: true (because this is JS! 😛)

Typescript

The base configuration has all of the strictest settings enabled and targets esnext.

When the styled option is selected, @styled/typescript-styled-plugin is added.

When the solid option is selected, the jsxImportSource is appropriately updated.

Readme

Keywords

none

Package Sidebar

Install

npm i @merrywhether/config

Weekly Downloads

149

Version

3.1.1

License

MIT

Unpacked Size

35.8 kB

Total Files

32

Last publish

Collaborators

  • merrywhether