Reorganize: Move all skills to skills/ folder
- Created skills/ directory - Moved 272 skills to skills/ subfolder - Kept agents/ at root level - Kept installation scripts and docs at root level Repository structure: - skills/ - All 272 skills from skills.sh - agents/ - Agent definitions - *.sh, *.ps1 - Installation scripts - README.md, etc. - Documentation Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
id: no-dynamic-import
|
||||
snapshots:
|
||||
await import('bar'):
|
||||
labels:
|
||||
- source: await import('bar')
|
||||
style: primary
|
||||
start: 0
|
||||
end: 19
|
||||
const foo = await import('bar'):
|
||||
labels:
|
||||
- source: await import('bar')
|
||||
style: primary
|
||||
start: 12
|
||||
end: 31
|
||||
@@ -0,0 +1,7 @@
|
||||
id: no-dynamic-import
|
||||
valid:
|
||||
- "import { foo } from 'bar'"
|
||||
- "import * as foo from 'bar'"
|
||||
invalid:
|
||||
- "await import('bar')"
|
||||
- "const foo = await import('bar')"
|
||||
@@ -0,0 +1,6 @@
|
||||
id: no-dynamic-import
|
||||
language: typescript
|
||||
rule:
|
||||
pattern: await import($PATH)
|
||||
message: "Dynamic import() is not allowed. Use static imports at the top of the file instead."
|
||||
severity: error
|
||||
Reference in New Issue
Block a user