Skip to content
Workflow·Pro

ESLint check on save

Two seconds after you save a .js, .jsx or .mjs file, runs your project's own ESLint on it and notifies you only if it finds errors. The file is never changed. Needs ESLint installed in the project (npm install) and an ESLint config. Arrives switched off.

You need PocketCode Pro to install it.

If PocketCode is installed on your Android device, this opens the page in the app.

Preview

Triggers

FILE_SAVED · .js
FILE_SAVED · .jsx
FILE_SAVED · .mjs

Steps

Let the typing settle
Run the project's ESLint
Did ESLint find errors?
  Show what ESLint found

Changes in 1.0.0

First version.

Related

Ruff check on saveProWorkflowTwo seconds after you save a .py file, runs ruff check on it and notifies you only when it finds problems. It never changes the file. Needs Python and ruff in the Linux environment (pip install ruff). Arrives switched off.Check local links when you save MarkdownProWorkflowTwo seconds after you save a .md file, checks that its links and images to other files in the project point to files that exist, and notifies you with the line of each broken one. Web links and headings aren't checked. Arrives switched off.Commit and push with an AI messageProWorkflowWrites a commit message from your changed files and an optional note, then commits everything in the open project and pushes it. The AI sees file names, not your code. The push uses the Git account you connected in PocketCode. Arrives switched off.Type-check TypeScript after each commitProWorkflowAfter each commit you make from the Git screen, runs tsc --noEmit in that project and notifies you only if there are type errors. Skips projects without tsconfig.json. Needs the project's packages installed (npm install). Arrives switched off.Run the tests when a project opensProWorkflowEach time you open a project, it picks the test runner (npm, cargo, go or pytest), runs the tests and notifies you only if they fail, with the last lines of output. Needs those tools in the Linux environment. Arrives switched off.Remind me about uncommitted changesProWorkflowChecks the last project you opened and, if some files aren't committed, shows a notification with how many and on which branch. Add a schedule in Workflows, say every evening. Nothing leaves the phone. Arrives switched off.