Skip to content

ci: replace Codacy static analysis with in-repo tooling - #546

Draft
mohitpubnub wants to merge 1 commit into
masterfrom
CLEN-3960
Draft

mohitpubnub wants to merge 1 commit into
masterfrom
CLEN-3960

Conversation

@mohitpubnub

Copy link
Copy Markdown
Contributor

build: tools for static code analysis and format in place of codacy

eslint: type-aware lint, sonarjs complexity rules and timetoken/platform-global bans
eslint-suppressions: baseline existing violations so only new ones fail
dependency-cruiser: block Node built-ins, platform imports and import cycles in shared code
codeql: security-extended scanning of src/ on every PR
publint/attw: check package entry points and published type resolution
api:check: fail CI when the public lib/types/index.d.ts changes unreviewed
knip: report unused files, exports and dependencies (report-only)

changes eslint: migrate to ESLint 10 flat config; drop .eslintrc.cjs and .eslintignore; add live-tier block; ignore src/titanium and src/nativescript
changes tsconfig: enable noFallthroughCasesInSwitch
changes package.json: add lint:arch, pkg:check, api:check and knip scripts; pin @types/eslint-scope
changes devDependencies: remove eslint-plugin-mocha, @typescript-eslint/*, @types/{expect,nock,text-encoding}, rollup-plugin-string, source-map-support, ts-mocha
changes ci: run pkg:check, lint:arch and api:check in run-tests.yml
changes docs: update AGENTS.md, skills and live README; add summary.md
@pubnub-snyk-universal-prd

pubnub-snyk-universal-prd Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

This branch has not been deployed

No deployments
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.

2 participants