Skip to content

Commit 7b15316

Browse files
chore: Format pyright-scip with prettier
1 parent 75eb921 commit 7b15316

17 files changed

Lines changed: 17755 additions & 17706 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.md
2+
*.markdown
3+
dist/
4+
node_modules/
5+
snapshots/

packages/pyright-scip/AGENT.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@
33
## Development Commands
44

55
### Testing
6-
- `npm test` - Run Jest tests
7-
- `npm run check-snapshots` - Check snapshot tests
8-
- `npm run update-snapshots` - Update snapshot tests
6+
7+
- `npm test` - Run Jest tests
8+
- `npm run check-snapshots` - Check snapshot tests
9+
- `npm run update-snapshots` - Update snapshot tests
910

1011
### Building
11-
- `npm run webpack` - Development build
12-
- `npm run build` - Production build
13-
- `npm run watch` - Development build with watch mode
12+
13+
- `npm run webpack` - Development build
14+
- `npm run build` - Production build
15+
- `npm run watch` - Development build with watch mode
1416

1517
### Linting and Formatting
16-
- `npm run fix:prettier` - Fix prettier formatting issues
17-
- `npm run fix:eslint` - Fix ESLint issues
18+
19+
- `npm run fix:prettier` - Fix prettier formatting issues
20+
- `npm run fix:eslint` - Fix ESLint issues
1821

1922
## Code Style
20-
- Follow existing TypeScript patterns in the codebase
21-
- Use the Sourcegraph ESLint config and Prettier config
22-
- When modifying pyright-internal code, keep changes minimal and add `NOTE(scip-python):` prefix to comments
23+
24+
- Follow existing TypeScript patterns in the codebase
25+
- Use the Sourcegraph ESLint config and Prettier config
26+
- When modifying pyright-internal code, keep changes minimal and add `NOTE(scip-python):` prefix to comments

packages/pyright-scip/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ if (typeof module.setSourceMapsSupport === 'function') {
1515
const nodeOptions = process.env.NODE_OPTIONS || '';
1616
if (!nodeOptions.includes('--enable-source-maps')) {
1717
if (nodeOptions) {
18-
console.warn('Source maps support not available. Consider adding --enable-source-maps to the existing NODE_OPTIONS environment variable.');
18+
console.warn(
19+
'Source maps support not available. Consider adding --enable-source-maps to the existing NODE_OPTIONS environment variable.'
20+
);
1921
} else {
20-
console.warn('Source maps support not available. Consider setting the NODE_OPTIONS environment variable to "--enable-source-maps".');
22+
console.warn(
23+
'Source maps support not available. Consider setting the NODE_OPTIONS environment variable to "--enable-source-maps".'
24+
);
2125
}
2226
}
2327
}

0 commit comments

Comments
 (0)