Skip to content

Commit

Permalink
flatten src; mv types .; mv interface types
Browse files Browse the repository at this point in the history
Put all non-built type declarations to types, including both interface
& helper types.

With types cleaned out of src directory, flatten source code one level
for shorter hierarchy.
  • Loading branch information
jimmy-zhening-luo committed Jul 18, 2024
1 parent 28df1b6 commit 2b440e5
Show file tree
Hide file tree
Showing 131 changed files with 8 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Scopes } from "./config/default/scopes.js";
import scopes from "./config/default/scopes.js";
import files from "./config/default/files.js";
import rulesets from "./config/default/rulesets.js";
import options from "./config/default/options.js";
import plugins from "./config/default/plugins.js";
import parsers from "./config/default/parsers.js";
import type { Scopes } from "./default/scopes.js";
import scopes from "./default/scopes.js";
import files from "./default/files.js";
import rulesets from "./default/rulesets.js";
import options from "./default/options.js";
import plugins from "./default/plugins.js";
import parsers from "./default/parsers.js";

export default function (
scope: Partial<
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"include": [
"src/**/*.ts",
"types/**/*.d.ts",
"*.config.ts",
],
"compilerOptions": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2b440e5

Please sign in to comment.