Skip to content

Commit 979099c

Browse files
refactor: add define-config (#70)
Co-authored-by: Almanov Nikita <[email protected]>
1 parent 0a2a9e2 commit 979099c

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"devDependencies": {
7171
"@archoleat/commitlint-define-config": "file:",
7272
"@archoleat/eslint-flat-compatibility": "^1.1.6",
73+
"@archoleat/prettier-define-config": "^1.0.0",
7374
"@archoleat/semantic-release-define-config": "^1.1.13",
7475
"@commitlint/cli": "^19.4.0",
7576
"@commitlint/config-conventional": "^19.2.2",

pnpm-lock.yaml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prettier.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
export default {
1+
import { defineConfig } from '@archoleat/prettier-define-config';
2+
3+
export default defineConfig({
24
overrides: [
35
{
46
files: ['*.js', '*.ts', '*.yaml'],
@@ -13,4 +15,4 @@ export default {
1315
},
1416
},
1517
],
16-
};
18+
});

0 commit comments

Comments
 (0)