Skip to content

Commit

Permalink
Merge pull request #5 from de-don/prettier-v3
Browse files Browse the repository at this point in the history
Prettier v3

closes #3
  • Loading branch information
de-don authored Sep 13, 2024
2 parents 2a4864b + c3a1cd9 commit 6f3e48d
Show file tree
Hide file tree
Showing 9 changed files with 1,236 additions and 4,456 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Plugin for prettier to organize properties in Angular decorators

## Prettier compatibility

- For prettier 2.x.x use version 1.x.x of this plugin.
- For prettier 3.x.x use version 2.x.x of this plugin.

## Usage

First of all, install the plugin:
Expand Down
8 changes: 4 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import type {InitialOptionsTsJest} from 'ts-jest';
const config: InitialOptionsTsJest = {
preset: 'ts-jest/presets/js-with-ts-esm',
testEnvironment: 'jsdom',
globals: {
// eslint-disable-next-line @typescript-eslint/naming-convention
'ts-jest': {
transform: {
'^.+\\.(ts|js|html)$': ['ts-jest', {
tsconfig: {
allowJs: true,
},
},
useESM: true,
}],
},
clearMocks: true,
resetModules: true,
Expand Down
Loading

0 comments on commit 6f3e48d

Please sign in to comment.