Skip to content

Commit

Permalink
fix: configure gitignore file automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
joelcox22 committed Mar 10, 2024
1 parent 08105da commit 12176de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lint/config/gitignore.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import * as util from '../util';
import * as util from '../util.js';

export default function configureGitignore() {
const ignore = util.readLines('.gitignore');
Expand Down
2 changes: 2 additions & 0 deletions packages/lint/config/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import gitignore from './gitignore.js';
import eslint from './eslint.js';
import prettier from './prettier.js';
import vscode from './vscode.js';
Expand All @@ -10,6 +11,7 @@ const debug = util.debug('configure');

export default function configure() {
Object.entries({
gitignore,
eslint,
prettier,
vscode,
Expand Down

0 comments on commit 12176de

Please sign in to comment.