Skip to content

Commit 118873a

Browse files
committed
use g:eslint
1 parent b495928 commit 118873a

File tree

47 files changed

+94
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+94
-93
lines changed

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"clean": "rimraf -g suites/**/dist loader-suites/**/dist tmp",
1212
"install-browsers": "[[ -z \"$SKIP_PLAYWRIGHT_BROWSER_INSTALL\" ]] && npx playwright install --with-deps || echo 'Skipping browser installation'",
13-
"lint": "eslint . --format stylish",
14-
"fix": "eslint . --format stylish --fix",
13+
"lint": "yarn g:eslint . --format stylish",
14+
"fix": "yarn g:eslint . --format stylish --fix",
1515
"type-check": "tsc",
1616
"postinstall": "yarn install-browsers",
1717
"pretest": "yarn clean && yarn type-check",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"main": "index.mjs",
1111
"type": "module",
1212
"scripts": {
13-
"lint": "eslint . --format stylish",
14-
"fix": "eslint . --format stylish --fix"
13+
"lint": "yarn g:eslint . --format stylish",
14+
"fix": "yarn g:eslint . --format stylish --fix"
1515
},
1616
"dependencies": {
1717
"@actions/core": "1.10.1",

dev-packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"license": "MIT",
55
"private": true,
66
"scripts": {
7-
"fix": "eslint . --format stylish --fix",
8-
"lint": "eslint . --format stylish",
7+
"fix": "yarn g:eslint . --format stylish --fix",
8+
"lint": "yarn g:eslint . --format stylish",
99
"lint:ts": "tsc --noEmit",
1010
"test:e2e": "run-s test:validate-configuration test:validate-test-app-setups test:run",
1111
"test:run": "ts-node run.ts",

dev-packages/external-contributor-gh-action/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"main": "index.mjs",
1111
"type": "module",
1212
"scripts": {
13-
"lint": "eslint . --format stylish",
14-
"fix": "eslint . --format stylish --fix"
13+
"lint": "yarn g:eslint . --format stylish",
14+
"fix": "yarn g:eslint . --format stylish --fix"
1515
},
1616
"dependencies": {
1717
"@actions/core": "1.10.1"

dev-packages/node-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"clean": "rimraf -g **/node_modules && yarn clean:script",
1818
"clean:script": "node scripts/clean.js",
1919
"express-v5-install": "cd suites/express-v5 && yarn --no-lockfile",
20-
"lint": "eslint . --format stylish",
21-
"fix": "eslint . --format stylish --fix",
20+
"lint": "yarn g:eslint . --format stylish",
21+
"fix": "yarn g:eslint . --format stylish --fix",
2222
"type-check": "tsc",
2323
"pretest": "yarn express-v5-install",
2424
"test": "vitest run",

dev-packages/opentelemetry-v2-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"node": ">=18"
88
},
99
"scripts": {
10-
"lint": "eslint . --format stylish",
11-
"fix": "eslint . --format stylish --fix",
10+
"lint": "yarn g:eslint . --format stylish",
11+
"fix": "yarn g:eslint . --format stylish --fix",
1212
"test": "vitest run",
1313
"test:watch": "vitest --watch"
1414
},

dev-packages/size-limit-gh-action/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"main": "index.mjs",
1111
"type": "module",
1212
"scripts": {
13-
"lint": "eslint . --format stylish",
14-
"fix": "eslint . --format stylish --fix"
13+
"lint": "yarn g:eslint . --format stylish",
14+
"fix": "yarn g:eslint . --format stylish --fix"
1515
},
1616
"dependencies": {
1717
"@actions/artifact": "2.1.11",

dev-packages/test-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"node": ">=18"
3232
},
3333
"scripts": {
34-
"fix": "eslint . --format stylish --fix",
35-
"lint": "eslint . --format stylish",
34+
"fix": "yarn g:eslint . --format stylish --fix",
35+
"lint": "yarn g:eslint . --format stylish",
3636
"build": "run-s build:transpile build:types",
3737
"build:tarball": "run-s build:transpile build:types",
3838
"build:dev": "yarn build",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"test:ci:bun": "lerna run test --scope @sentry/bun",
4444
"yalc:publish": "lerna run yalc:publish",
4545
"g:downlevel-dts": "cd $INIT_CWD && downlevel-dts",
46-
"g:rollup": "cd $INIT_CWD && rollup"
46+
"g:rollup": "cd $INIT_CWD && rollup",
47+
"g:eslint": "cd $INIT_CWD && eslint"
4748
},
4849
"packageManager": "yarn@4.6.0+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728",
4950
"volta": {

packages/angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
"build:tarball": "npm pack ./build",
5252
"circularDepCheck": "madge --circular src/index.ts",
5353
"clean": "rimraf build coverage sentry-angular-*.tgz",
54-
"fix": "eslint . --format stylish --fix",
55-
"lint": "eslint . --format stylish",
54+
"fix": "yarn g:eslint . --format stylish --fix",
55+
"lint": "yarn g:eslint . --format stylish",
5656
"lint:es-compatibility": "es-check es2020 ./build/{esm2020,fesm2015,fesm2020}/*.mjs --module",
5757
"test": "yarn test:unit",
5858
"test:unit": "vitest run",

0 commit comments

Comments
 (0)