Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@shelf/betterer-config

Package Overview
Dependencies
Maintainers
58
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shelf/betterer-config

betterer-config

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
58
Created
Source

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

Keywords

betterer

FAQs

Package last updated on 21 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts