@shelf/betterer-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

betterer-config CircleCI

betterer-config description

Install

$ yarn add @shelf/betterer-config

Usage

Inside .betterer.ts:

import frontendConfig  from '@shelf/betterer-config/frontend.js';

const sourceCodePatters = [
  'imports/**/*.{js,jsx,ts,tsx}',
  'client/**/*.{js,jsx,ts,tsx}',
  'server/**/*.{js,jsx,ts,tsx}',
  'packages/**/*.{js,jsx,ts,tsx}',
];

const tsFilesPattern = [
  'imports/**/*.{ts,tsx}',
  'client/**/*.{ts,tsx}',
  'server/**/*.{ts,tsx}',
  'packages/**/*.{ts,tsx}',
];

const config = frontendConfig({
  jsFilesPattern: sourceCodePatters,
  todoFilesPattern: sourceCodePatters,
  tsFilesPattern,
  tsConfigPath: 'tsconfig.json',
  eslintRules: {'no-debugger': 'error'},
  eslintFilesPatterns: sourceCodePatters,
});

export default config;

Publish

$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags

License

MIT © Shelf

Package Sidebar

Install

npm i @shelf/betterer-config

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

9.58 kB

Total Files

14

Last publish

Collaborators

  • ksenia_holovko
  • petro.bodnarchuk
  • kateryna-kochina
  • maksym.tarnavskyi
  • andrii-nastenko
  • mykhailo.yatsko
  • ahavrysh
  • nikita_shelf
  • maciej.orlowski
  • monopotan
  • andrew214
  • bogdan.kolesnyk
  • andrii.batutin
  • kristina.zhak
  • anton-russo
  • mmazurowski
  • toms-shelf
  • mateuszgajdashelf
  • kchlon
  • dmytro.harazdovskiy
  • duch0416
  • i5adovyi
  • olesiamuller
  • mykola.khytra
  • yuliiakovalchuk
  • el_scrambone
  • bodyaflesh
  • slavammellnikov
  • andriisermiahin
  • mpushkin
  • batovpavlo
  • domovoj
  • vozemer
  • oleksii.dymnich
  • dima-bond
  • maksym.hayovets
  • oles.zadorozhnyy
  • ss1l
  • gemshelf
  • hartzler
  • vladgolubev
  • hmelenok
  • knupman
  • maaraanas
  • terret
  • chapelskyi.slavik
  • pihorb
  • irynah
  • diana.kryskuv
  • andy.raven
  • rafler
  • sskalp88
  • demiansua
  • yuriil
  • ktv18
  • drews_abuse
  • rostyslav-horytskyi
  • whodeen