0.1.0-dev.c48c17a97abf45dc637e8da5a3311a35a181be9a • Published 10 months ago

@antribute/config v0.1.0-dev.c48c17a97abf45dc637e8da5a3311a35a181be9a

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Config

Common configuration files used between all Antribute projects

Installation

pnpm i @antribute/config

Usage

ESLint

module.exports = require('@antribute/config/eslint/eslint-base');
module.exports = require('@antribute/config/eslint/eslint-nextjs');
module.exports = require('@antribute/config/eslint/eslint-react');

NextJS

module.exports = require('@antribute/config/nextjs/next.config');

Postcss

module.exports = require('@antribute/config/postcss/postcss-tailwind.config');

Prettier

module.exports = require('@antribute/config/prettier/.prettierrc');
{
  "prettier": "@antribute/config/prettier/.prettierrc.cjs"
}

TypeScript

{
  "extends": "@antribute/config/tsconfig/tsconfig.base.json"
}
{
  "extends": "@antribute/config/tsconfig/tsconfig.nextjs.json"
}
{
  "extends": "@antribute/config/tsconfig/tsconfig.react.json"
}

Tsup

export { default } from '@antribute/config/tsup/tsup.config.base.mjs';
export { default } from '@antribute/config/tsup/tsup.config.react.mjs';

Vitest

export { default } from '@antribute/config/vitest/vitest.config.mjs';