Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update linter and formatter #243

Merged
merged 5 commits into from
Jun 7, 2023
Merged

Conversation

MH4GF
Copy link
Owner

@MH4GF MH4GF commented Jun 7, 2023

  • fix: fix to use @mh4gf/eslint-config
  • refactor: fix eslint errors
  • fix: fix to use @mh4gf/prettier-config
  • refactor: format all files
  • fix: fix lint errors

@MH4GF MH4GF changed the title mh4gf/update linter and formatter refactor: update linter and formatter Jun 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

dependency-cruiser report

visualize dependenices of changed files.

flowchart LR

subgraph 0["src"]
1["options.ts"]
subgraph 2["options"]
3["filterSupportedFiles.ts"]
4["formatFocusOption.ts"]
5["getConfigFilePath.ts"]
6["validateOptions.ts"]
8["validateOptions.test.ts"]
end
7["ActionError.ts"]
subgraph 9["report"]
subgraph A["body"]
B["reportBody.ts"]
C["uniqueTag.ts"]
end
D["fetchPreviousReport.ts"]
F["generateReport.ts"]
end
E["type.ts"]
G["runDepcruise.ts"]
end
1-->3
1-->4
1-->5
1-->6
1-->6
6-->7
8-->7
8-->6
8-->6
B-->C
D-->1
D-->E
D-->C
F-->1
F-->E
F-->B
F-->D

style 1 fill:lime,color:black
style 6 fill:lime,color:black
style 8 fill:lime,color:black
style B fill:lime,color:black
style C fill:lime,color:black
style D fill:lime,color:black
style E fill:lime,color:black
style F fill:lime,color:black
style G fill:lime,color:black

Report generated by dependency-cruiser report action 4ef03ac


working directory: .

execute command
yarn run -s depcruise --output-type mermaid --config .dependency-cruiser.js --focus "^.dependency-cruiser.js|^.eslintrc.cjs|^src/options.ts|^src/options/validateOptions.test.ts|^src/options/validateOptions.ts|^src/report/body/reportBody.ts|^src/report/body/uniqueTag.ts|^src/report/fetchPreviousReport.ts|^src/report/generateReport.ts|^src/runDepcruise.ts|^src/type.ts|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/one_only_one.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/one_only_two.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/root_one.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/root_two.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/shared.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/sub/depindir.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/sub/dir.js|^test/runDepcruise/sample/__mocks__/test/fixtures/cjs/two_only_one.js|^test/sample/index.js" .dependency-cruiser.js .eslintrc.cjs src/options.ts src/options/validateOptions.test.ts src/options/validateOptions.ts src/report/body/reportBody.ts src/report/body/uniqueTag.ts src/report/fetchPreviousReport.ts src/report/generateReport.ts src/runDepcruise.ts src/type.ts test/runDepcruise/sample/__mocks__/test/fixtures/cjs/one_only_one.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/one_only_two.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/root_one.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/root_two.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/shared.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/sub/depindir.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/sub/dir.js test/runDepcruise/sample/__mocks__/test/fixtures/cjs/two_only_one.js test/sample/index.js

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

dependency-cruiser report

visualize dependenices of changed files.

flowchart LR

0["index.js"]


style 0 fill:lime,color:black

Report generated by dependency-cruiser report action 4ef03ac


working directory: test/sample

execute command
yarn run -s depcruise --output-type mermaid --config .dependency-cruiser.js --focus "^index.js" index.js

@MH4GF MH4GF merged commit 36e2d97 into main Jun 7, 2023
6 checks passed
@MH4GF MH4GF deleted the mh4gf/update-linter-and-formatter branch June 7, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant