3.1.0 • Published 9 months ago

@chriscarrillo/ts v3.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 months ago

Custom TypeScript Configurations

Installation

pnpm install -D @chriscarrillo/ts

Set-Up

TypeScript

In tsconfig.json:

{
  "extends": "./node_modules/@chriscarrillo/ts/tsconfig.json"
}

In tsconfig.base.json:

{
  "compilerOptions": { "baseUrl": "./src" },
  "extends": "./node_modules/@chriscarrillo/ts/config/base.json"
}

Prettier

ppnpm install -D prettier

In .prettierrc.js:

module.exports = require('@chriscarrillo/ts/format');

ESLint

pnpm install -D @arthurgeron/eslint-plugin-react-usememo @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-functional eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-jsdoc eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-sonarjs

In .eslintrc.js:

module.exports = {
  ...require('@chriscarrillo/ts/lint'),
};
3.1.0

9 months ago

3.0.0

9 months ago

2.0.0

10 months ago

1.0.0

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago