1.0.5 • Published 2 months ago

@waitroom/configs v1.0.5

Weekly downloads
75
License
MIT
Repository
github
Last release
2 months ago

Configs

Config files used accross different projects.

⚠️ Work in progress

Types

  • .eslintignore
  • .eslintrc.js
  • .gitignore
  • .prettierignore
  • babel.config.js
  • jest.config.js
  • lint-staged.config.js
  • prettier.config.js
  • release.config.js
  • tsconfig.json

Install

npm install @waitroom/configs --save-dev

Use

Inside your specific config file:

.eslintrc.js

const config = require('@waitroom/configs/src/.eslintrc.js');

module.exports = Object.assign(config, {
  // your overriding or other config options
});

prettier.config.js

const config = require('@waitroom/configs/src/prettier.config');

module.exports = Object.assign(config, {
  // your overriding or other config options
});

tsconfig.json

{
  "extends": "@waitroom/configs/src/tsconfig.json",
  "compilerOptions": {
    "removeComments": true,
    "target": "es2017",
    "outDir": "lib"
  },
  "include": ["src"],
  "exclude": ["node_modules"]
}
1.0.5

2 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago