@merrywhether/config v5.1.0
@merrywhether/config
Common config files for @merrywhether projects
Usage
Installation:
pnpm add -D @merrywhether/configThis 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:
eslint(recommended++)importprettier(recommended)sort-destructure-keyssort-keys-fix
When the typescript option is selected, the following are added:
@typescript-eslint(recommended++, including type-aware)
When the react option is selected, the following are added:
react(recommended++, jsx-runtime)react-hooks(recommended++)typescript-sort-keys(recommended)
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.
6 months ago
8 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago