@bn-digital/cosmiconfig

1.2.1 • Public • Published

BN Digital Coding Standards

npm npm npm npm npm npm npm


Packages

This package is a meta package that bundles other packages all together. To install, add the following to your package.json file:

{
  "devDependencies": {
    "@bndigital/cosmiconfig": "^1.0.8"
  }
}

and configure corresponding tools as described below.

Typescript

npm

In your tsconfig.json file, add the following:

{
  "extends": "@bndigital/typescript/standard"
}

Available profiles to use:

  • @bndigital/typescript/standard
  • @bndigital/typescript/react
  • @bndigital/typescript/strapi-admin
  • @bndigital/typescript/strapi-server
  • @bndigital/typescript/pulumi
  • @bndigital/typescript/projen

ESLint

npm

In your package.json file, add the following:

{
  "eslintConfig": {
    "extends": "@bndigital/eslint-config"
  }
}

Stylelint

In your package.json file, add the following:

{
  "stylelint": {
    "extends": "@bndigital/stylelint-config"
  }
}

Prettier

npm

In your package.json file, add the following:

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

Vite

npm

See vite for more information.

GraphQL

npm

See graphql for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @bn-digital/cosmiconfig

Weekly Downloads

143

Version

1.2.1

License

MIT

Unpacked Size

6.6 kB

Total Files

4

Last publish

Collaborators

  • bn-medicine
  • askent
  • bndigital