New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@shi-corp/common-utilities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shi-corp/common-utilities

Collection of configurations, settings and packages to be common across multiple products/repositories.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Common Utilities Unit Test Lint Check CodeQL

This project is a collection of configurations to establish some baseline behavior for your TypeScript, linting preferences, etc.

These configurations are not exhaustive and might require bespoke changes once extended or included in your target repo (based on the configuration used).

tsconfig configuration

Since it is not a code but just configuration file, it would require particular handling to use:

in tsconfig.json make these changes

{
  "extends": "./node_modules/@shi-corp/common-utilities/config/baseTsConfig.json",
  "compilerOptions": {
    "outDir": "<location of the output folder for your project, if it is used>"
  }
  ... // any other options that need to override base behavior
}

Lint configuration

This project is using flat file for eslint (best results achieved with version >=9.9.0) and the intention to be compatible with that style only:

in eslint.config.(m)js make these changes

import { eslintConfig } from '@shi-corp/common-utilities';

export default [
    ...eslintConfig,
    <any other configuration that is specific to you project (excludes, different rules, etc.)>
];

Next.js configuration

in next.config.(m)js make these changes

import { nextConfig } from '@shi-corp/common-utilities';

export default {
  ...nextConfig,
  ... // any other options that need to override base behavior
};

Keywords

ESLint

FAQs

Package last updated on 23 Aug 2025

Related posts