Skip to content

Commit d0d9c8e

Browse files
committed
chore: adjust linting
1 parent 38a2b8f commit d0d9c8e

File tree

4 files changed

+31
-15
lines changed

4 files changed

+31
-15
lines changed

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
"plugin:@typescript-eslint/recommended",
1010
"plugin:prettier/recommended"
1111
],
12-
"ignorePatterns": ["CONTRIBUTOR-DOCS/**/*"],
12+
"ignorePatterns": [
13+
"CONTRIBUTOR-DOCS/**/*",
14+
"1st-gen/packages/icons/src/icons-*.svg.ts"
15+
],
1316
"overrides": [
1417
{
1518
"extends": ["plugin:jsonc/recommended-with-jsonc"],

1st-gen/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"author": "Adobe",
88
"homepage": "https://opensource.adobe.com/spectrum-web-components/",
99
"repository": {
10+
"directory": "1st-gen",
1011
"type": "git",
11-
"url": "https://github.com/adobe/spectrum-web-components.git",
12-
"directory": "1st-gen"
12+
"url": "https://github.com/adobe/spectrum-web-components.git"
1313
},
1414
"bugs": {
1515
"url": "https://github.com/adobe/spectrum-web-components/issues"
@@ -215,16 +215,6 @@
215215
"build:types"
216216
]
217217
},
218-
"prebuild": {
219-
"command": "yarn workspace @spectrum-web-components/core build",
220-
"files": [
221-
"../2nd-gen/packages/core/components/**/*",
222-
"../2nd-gen/packages/core/shared/**/*",
223-
"../2nd-gen/packages/core/package.json",
224-
"../2nd-gen/packages/core/vite.config.js",
225-
"../2nd-gen/packages/core/tsconfig.json"
226-
]
227-
},
228218
"build:css": {
229219
"clean": "if-file-deleted",
230220
"command": "node ./scripts/build-css.js",
@@ -294,6 +284,16 @@
294284
"!tools/base/src/version.js"
295285
]
296286
},
287+
"prebuild": {
288+
"command": "yarn workspace @spectrum-web-components/core build",
289+
"files": [
290+
"../2nd-gen/packages/core/components/**/*",
291+
"../2nd-gen/packages/core/shared/**/*",
292+
"../2nd-gen/packages/core/package.json",
293+
"../2nd-gen/packages/core/vite.config.js",
294+
"../2nd-gen/packages/core/tsconfig.json"
295+
]
296+
},
297297
"build:ts:watch": {
298298
"command": "node ./scripts/watch-ts.js",
299299
"service": true

0 commit comments

Comments
 (0)