Skip to content

Commit

Permalink
refactor: add defineConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Aug 9, 2024
1 parent 5ea80cc commit adbd2df
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"devDependencies": {
"@archoleat/commitlint-define-config": "^1.0.8",
"@archoleat/eslint-flat-compatibility": "^1.1.6",
"@archoleat/prettier-define-config": "^1.0.0",
"@archoleat/semantic-release-define-config": "^1.1.12",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export default {
import { defineConfig } from '@archoleat/prettier-define-config';

export default defineConfig({
overrides: [
{
files: ['*.js', '*.ts', '*.yaml'],
Expand All @@ -13,4 +15,4 @@ export default {
},
},
],
};
});

0 comments on commit adbd2df

Please sign in to comment.