Skip to content

Commit

Permalink
[package] converting to monorepo using npm workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
grasword committed Oct 5, 2023
1 parent 4664996 commit 7a43308
Show file tree
Hide file tree
Showing 36 changed files with 6,790 additions and 13,727 deletions.
20 changes: 11 additions & 9 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
root: true

parser: '@typescript-eslint/parser'
parserOptions:
project: './tsconfig.json'
project: ['./tsconfig.json', './packages/*/tsconfig.json']

settings:
import/resolver:
typescript: true
node: true

ignorePatterns:
- 'build'
Expand All @@ -13,9 +20,9 @@ plugins:

extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
- 'plugin:@typescript-eslint/strict'
- 'plugin:@typescript-eslint/recommended-type-checked'
- 'plugin:@typescript-eslint/stylistic-type-checked'
- 'plugin:@typescript-eslint/strict-type-checked'
- 'standard-with-typescript'
- 'plugin:promise/recommended'
- 'plugin:import/recommended'
Expand All @@ -25,11 +32,6 @@ extends:
- 'plugin:jsdoc/recommended-typescript-error'
- 'plugin:vitest/all'

settings:
import/resolver:
typescript: true
node: true

rules:
'@typescript-eslint/consistent-type-definitions': ['error', 'type']
'@typescript-eslint/strict-boolean-expressions': ['error', allowNullableObject: true]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ npm-debug.log

## Build
build
*.tsbuildinfo

## Coverage reports
coverage
Expand Down
Loading

0 comments on commit 7a43308

Please sign in to comment.