Skip to content

panoply/straps

Repository files navigation

@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.

@sissel/tsconfig

This is a shareable TypeScript tsconfig.json configuration file.

{
  "extends": "@sissel/tsconfig",
}

See the @sissel/tsconfig readme.

@sissel/stylelint-config

This is a shareable Stylelint configuration.

{
  "stylelint": {
    "extends": ["@sissel/stylelint-config"],
    "ignoreFiles": ["**/*.js"],
  },
}

See the @sissel/stylelint-config readme.

@sissel/prettier-config

This is a shareable Prettier 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 prettier/prettier#12672.

{
  "prettier": "@sissel/prettier-config"
}

See the @sissel/prettier-config readme.

@sissel/eslint-config

This is a shareable ESLint config. Extend configuration from within package.json files, eg:

{
  "eslintConfig": {
    "ignorePatterns": ["*.html"],
    "extends": ["@sissel/eslint-config"],
    "rules": {},
  },
}

See the @sissel/eslint-config readme.

License

MIT