Skip to content

Commit

Permalink
refactor(eslint-config): change to function for flexibility
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Dec 6, 2024
1 parent 98d7be1 commit 0ea7940
Show file tree
Hide file tree
Showing 11 changed files with 802 additions and 766 deletions.
10 changes: 5 additions & 5 deletions packages/eslint-config/src/config/javascript.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { jsBase } from "./js/base.js";
import { jsCli } from "./js/cli.js";
import { jsConfig } from "./js/config.js";
import { jsTest } from "./js/test.js";
import { getJsBase } from "./js/base.js";
import { getJsCli } from "./js/cli.js";
import { getJsConfig } from "./js/config.js";
import { getJsTest } from "./js/test.js";

export function javascript() {
return [jsBase, jsCli, jsConfig, jsTest] as const;
return [getJsBase(), getJsCli(), getJsConfig(), getJsTest()] as const;
}
Loading

0 comments on commit 0ea7940

Please sign in to comment.