@thorough/dev-configs

0.3.1 • Public • Published

dev-configs

The development environment configurations we all extend from.

Prettier

We use Prettier to format code consistently. Our base configuration is stored here in prettier/base.js.

To extend from our configuration you can use something like this in your project's prettier.config.js:

const defaults = require('@thorough/dev-configs/prettier/base');

module.exports = Object.assign({}, defaults, {
  // Your personal overrides here.
});

TSLint

We prefer TypeScript and use TSLint to lint it. Our primary base configuration is here at tslint/base.js. You can extend it in your project's tslint.json like this:

{
  "extends": ["@thorough/dev-configs/tslint/base"],
  "rules": {
    "no-submodule-imports": [true, "date-fns/esm"]
  }
}

Package Sidebar

Install

npm i @thorough/dev-configs

Weekly Downloads

1

Version

0.3.1

License

MIT

Unpacked Size

3.83 kB

Total Files

8

Last publish

Collaborators

  • thorough2
  • zacharytamas