Back to all rules / Format and vendor rules

never-applied

Cursor rule has no alwaysApply, globs or description.

warning by default Format and vendor rules Inline suppression allowed

Source: Cursor docs: Rules (cursor.com), read 14 October 2026.

On GitHub: the rule doc and the tests.

Jump to another rule89

What it catches#

Cursor rule has no alwaysApply, globs or description.

A Cursor .mdc rule with frontmatter that sets none of alwaysApply: true, globs or description. Cursor then includes the rule only when someone @-mentions it in chat.

Why it matters#

Cursor then applies the rule only when you @-mention it, which is rarely what the author meant.

Bad example#

---
description:
globs:
alwaysApply: false
---

Use the repository pattern for all database access.

This is the template Cursor creates for a new rule, saved without filling it in. The rule looks active in the rules list, but Cursor never loads it on its own.

Good example#

---
description: Database access conventions
globs: src/db/**/*.ts
alwaysApply: false
---

Use the repository pattern for all database access.

How to fix#

Choose how the rule should load. alwaysApply: true puts it in every chat. globs attaches it when a matching file is in context. description lets the agent pull it in when the task matches. Leaving all three empty only makes sense for a rule you always @-mention by hand.

Suppress or configure#

For one finding, put a comment on the line above it. The reason after -- is optional but worth writing:

<!-- asitis-disable-next-line never-applied -- why this one is fine -->

For a whole file:

<!-- asitis-disable-file never-applied -- why this file is an exception -->

For every file, turn it off or change its severity in .asitisrc.json:

{ "rules": { "never-applied": "off" } }

A .asitisrc.json overrides entry limits a change to some paths, and a baseline (asitis lint --format json --write-baseline) accepts today's findings so only new ones fail the build.

Source#

Cursor docs: Rules, read on 14 October 2026.

See what an agent changed in your CLAUDE.md. Keep or revert each change.

The linter is free and needs no signup. I'm also building a desktop editor for the markdown your agents write and read. It shows what an agent changed since you last looked, lets you keep or revert each change, and never touches a line you didn't edit. No release date yet. One email to confirm, one when the paid beta opens, one when 1.0 ships. $29 once for a founding licence, with 24 months of updates.

Or add the linter to CI, no email needed.

Your address is stored with Cloudflare, which hosts this site. No IP address is kept. See the privacy policy.

Back to all rules

This page is generated from the plugin's rule registry. Edit it on GitHub. False positive? Open an issue with the line it fired on.