Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panoply/straps
🏇 Collection of build straps I use for various projects.
https://github.com/panoply/straps
eslint monorepo pnpm-workspace prettier rollup shared-configuration stylelint
Last synced: 13 days ago
JSON representation
🏇 Collection of build straps I use for various projects.
- Host: GitHub
- URL: https://github.com/panoply/straps
- Owner: panoply
- Created: 2022-02-05T01:57:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T01:55:49.000Z (9 months ago)
- Last Synced: 2024-12-20T23:52:44.545Z (14 days ago)
- Topics: eslint, monorepo, pnpm-workspace, prettier, rollup, shared-configuration, stylelint
- Language: TypeScript
- Homepage:
- Size: 512 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# @sissel/straps
Build strap configuration presets I used for various projects. This monorepo exports several development configs which allow drop-in (batteries included) functionality for various TS packages, modules and projects I work on or maintain. It is merely for convenience and if you stumble across, feel free to use it as a boilerplate to your next project with [pnpm](https://pnpm.js.org/en/cli/install).
#### @sissel/tsconfig
This is a shareable [TypeScript](https://www.typescriptlang.org/) `tsconfig.json` configuration file.
```jsonc
{
"extends": "@sissel/tsconfig",
}
```> See the [@sissel/tsconfig](https://github.com/panoply/straps/tree/master/packages/tsconfig) readme.
#### @sissel/stylelint-config
This is a shareable [Stylelint](https://stylelint.io/) configuration.
```jsonc
{
"stylelint": {
"extends": ["@sissel/stylelint-config"],
"ignoreFiles": ["**/*.js"],
},
}
```> See the [@sissel/stylelint-config](https://github.com/panoply/straps/tree/master/packages/stylelint-config) readme.
#### @sissel/prettier-config
This is a shareable [Prettier](https://prettier.io/) config. Extend configuration from within `package.json` files.
> Please note that prettier does not yet support ignored files via `package.json` so you need to add a `.prettierignore` file in your workspace. The feature is coming in https://github.com/prettier/prettier/pull/12672.
```json
{
"prettier": "@sissel/prettier-config"
}
```> See the [@sissel/prettier-config](https://github.com/panoply/straps/tree/master/packages/prettier-config) readme.
#### @sissel/eslint-config
This is a shareable ESLint config. Extend configuration from within `package.json` files, eg:
```jsonc
{
"eslintConfig": {
"ignorePatterns": ["*.html"],
"extends": ["@sissel/eslint-config"],
"rules": {},
},
}
```> See the [@sissel/eslint-config](https://github.com/panoply/straps/tree/master/packages/eslint-config) readme.
### License
[MIT](#LICENSE)