Skip to content
SoundOfTheSkyPublic

About

@softsky/configs NPM package. Configs for JS/TS development environment.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Sky configs

Collection of configs and linters that I use in my projects.

Latest Stable Version NPM Downloads NPM Downloads Bundlephobia Size

npm i -D @softsky/configs

A bunch of configs for TypeScript environments.

Contribute

I don't know why would you want to, but feel free to.

Setup

Oxlint

Create oxlint.config.ts and put

import { defineConfig } from "oxlint";
import skyConfig from "@softsky/configs/oxlint.config.js";

export default defineConfig({
  extends: [skyConfig],
});

Oxfmt

Create oxfmt.config.ts and put

import { defineConfig } from "oxfmt";
import skyConfig from "@softsky/configs/oxfmt.config.js";

export default defineConfig({
  ...skyConfig,
});

TSConfig

Create tsconfig.json and put

{
  "extends": "@softsky/configs/tsconfig.json"
}

Also you can use @softsky/configs/tsconfig.emit.json to enable TSC emitting build.

Prettier

Create prettier.config.mjs and put

// @ts-check
import skyPrettierConfig from "@softsky/configs/prettier.config.mjs";

/** @type {import("prettier").Config} */
export default { ...skyPrettierConfig };

Stylelint

Create stylelint.config.mjs and put

// @ts-check

/** @type {import("stylelint").Config} */
export default {
  extends: ["@softsky/configs/stylelint.config.mjs"],
};

About

@softsky/configs NPM package. Configs for JS/TS development environment.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages