Skip to content

Commit 320efdd

Browse files
chore: Disable eslint checking -- too many issues
1 parent f0df026 commit 320efdd

File tree

5 files changed

+9
-20
lines changed

5 files changed

+9
-20
lines changed

.github/workflows/scip-style.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,3 @@ jobs:
4040
- name: Check prettier formatting
4141
run: npm run check:prettier
4242
working-directory: packages/pyright-scip
43-
44-
- name: Check ESLint
45-
run: npm run check:eslint
46-
working-directory: packages/pyright-scip

packages/pyright-scip/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ module.exports = {
99
},
1010
ignorePatterns: ['temp', 'lsif.ts', 'snapshots'],
1111
rules: {},
12+
root: true,
1213
};

packages/pyright-scip/AGENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
- `npm run build` - Production build
1515
- `npm run watch` - Development build with watch mode
1616

17-
### Linting and Formatting
17+
### Formatting
1818

1919
- `npm run fix:prettier` - Fix prettier formatting issues
20-
- `npm run fix:eslint` - Fix ESLint issues
20+
- `npm run check:prettier` - Check prettier formatting
2121

2222
## Code Style
2323

packages/pyright-scip/CONTRIBUTING.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- [Installing dependencies](#installing-dependencies)
55
- [Building the code](#building-the-code)
66
- [Running tests](#running-tests)
7-
- [Linting and formatting](#linting-and-formatting)
7+
- [Formatting](#formatting)
88
- [Publishing releases](#publishing-releases)
99

1010
## Development
@@ -91,26 +91,20 @@ Available snapshot tests can be found in `snapshots/input/`.
9191
Using a different Python version other than the one specified
9292
in `.tool-versions` may also lead to errors.
9393

94-
### Linting and formatting
94+
### Formatting
9595

96-
To check for linting and formatting issues:
96+
To check for formatting issues:
9797

9898
```bash
9999
# Check prettier formatting
100100
npm run check:prettier
101-
102-
# Check ESLint issues
103-
npm run check:eslint
104101
```
105102

106-
To fix linting and formatting issues:
103+
To fix formatting issues:
107104

108105
```bash
109106
# Fix prettier formatting issues
110107
npm run fix:prettier
111-
112-
# Fix ESLint issues
113-
npm run fix:eslint
114108
```
115109

116110
## Making changes to Pyright internals

packages/pyright-scip/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
"test": "jest --forceExit --detectOpenHandles",
1414
"webpack": "webpack --mode development --progress",
1515
"watch": "webpack --mode development --progress --watch",
16-
"fix:prettier": "prettier --write .",
17-
"fix:eslint": "eslint --fix .",
18-
"check:prettier": "prettier --check .",
19-
"check:eslint": "eslint ."
16+
"fix:prettier": "prettier --write --loglevel error .",
17+
"check:prettier": "prettier --check ."
2018
},
2119
"author": "Sourcegraph",
2220
"repository": {

0 commit comments

Comments
 (0)