Skip to content

Commit 9b3d38d

Browse files
committed
chore: move repository contents under 1st-gen/
1 parent 6c97dd7 commit 9b3d38d

File tree

2,049 files changed

+268815
-346
lines changed

Some content is hidden

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

2,049 files changed

+268815
-346
lines changed

1st-gen/.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
packages/**/*.d.ts
2+
packages/*/node_modules/**/*
3+
tools/**/*.d.ts
4+
tools/*/node_modules/**/*
5+
config/*
6+
tools/base/src/version.js

1st-gen/.eslintrc.json

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/recommended",
10+
"plugin:prettier/recommended",
11+
"plugin:lit-a11y/recommended",
12+
"plugin:require-extensions/recommended"
13+
],
14+
"overrides": [
15+
{
16+
"extends": ["plugin:jsonc/recommended-with-jsonc"],
17+
"files": ["*.json"],
18+
"parser": "jsonc-eslint-parser",
19+
"rules": {
20+
"jsonc/sort-keys": ["warn"],
21+
"notice/notice": "off"
22+
}
23+
},
24+
{
25+
"extends": ["plugin:jsonc/recommended-with-jsonc"],
26+
"files": ["package.json"],
27+
"parser": "jsonc-eslint-parser",
28+
"rules": {
29+
"jsonc/sort-keys": [
30+
"warn",
31+
{
32+
"hasProperties": ["type"],
33+
"order": [
34+
"$schema",
35+
"name",
36+
"version",
37+
"private",
38+
"description",
39+
"license",
40+
"author",
41+
"maintainers",
42+
"contributors",
43+
"homepage",
44+
"repository",
45+
"bugs",
46+
"type",
47+
"exports",
48+
"main",
49+
"module",
50+
"browser",
51+
"man",
52+
"preferGlobal",
53+
"bin",
54+
"files",
55+
"directories",
56+
"scripts",
57+
"config",
58+
"sideEffects",
59+
"types",
60+
"typings",
61+
"workspaces",
62+
"resolutions",
63+
"dependencies",
64+
"bundleDependencies",
65+
"bundledDependencies",
66+
"peerDependencies",
67+
"peerDependenciesMeta",
68+
"optionalDependencies",
69+
"devDependencies",
70+
"keywords",
71+
"engines",
72+
"engineStrict",
73+
"os",
74+
"cpu",
75+
"publishConfig"
76+
],
77+
"pathPattern": "^$" // Top-level properties
78+
},
79+
{
80+
/*
81+
* This rule excludes export conditions from alphabetical sorting.
82+
* Since node.js processes export conditions in order and chooses the
83+
* first match, they need to be ordered logically, not alphabetically.
84+
*/
85+
"order": { "type": "asc" },
86+
"pathPattern": "^(?!exports\\[).*" // All properties except export conditions
87+
}
88+
]
89+
}
90+
},
91+
{
92+
"files": ["scripts/*"],
93+
"rules": {
94+
"no-console": ["off"]
95+
}
96+
},
97+
{
98+
"files": ["react/**/*.ts"],
99+
"rules": {
100+
"@typescript-eslint/no-explicit-any": "off"
101+
}
102+
}
103+
],
104+
"parser": "@typescript-eslint/parser",
105+
"parserOptions": {
106+
"ecmaVersion": "latest",
107+
"sourceType": "module"
108+
},
109+
"plugins": [
110+
"@typescript-eslint",
111+
"@spectrum-web-components",
112+
"import",
113+
"require-extensions"
114+
],
115+
"root": true,
116+
"rules": {
117+
"@spectrum-web-components/prevent-argument-names": [
118+
"error",
119+
["e", "ev", "evt", "err"]
120+
],
121+
"curly": ["error", "all"],
122+
"import/extensions": [
123+
"error",
124+
"ignorePackages",
125+
{
126+
"ts": "never"
127+
}
128+
],
129+
"import/prefer-default-export": "off",
130+
"lit-a11y/click-events-have-key-events": [
131+
"error",
132+
{
133+
"allowList": [
134+
"sp-button",
135+
"sp-action-button",
136+
"sp-checkbox",
137+
"sp-radio",
138+
"sp-switch",
139+
"sp-menu-item",
140+
"sp-clear-button",
141+
"sp-underlay"
142+
]
143+
}
144+
],
145+
"no-console": [
146+
"error",
147+
{
148+
"allow": ["warn", "error"]
149+
}
150+
],
151+
"no-debugger": 2,
152+
"sort-imports": [
153+
"error",
154+
{
155+
"allowSeparatedGroups": false,
156+
"ignoreCase": true,
157+
"ignoreDeclarationSort": true,
158+
"ignoreMemberSort": false
159+
}
160+
]
161+
}
162+
}

1st-gen/.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__snapshots__
2+
node_modules
3+
*.hbs

1st-gen/.prettierrc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
printWidth: 80
2+
tabWidth: 4
3+
semi: true
4+
singleQuote: true
5+
trailingComma: es5
6+
bracketSpacing: true
7+
arrowParens: always
8+
htmlWhitespaceSensitivity: ignore
9+
overrides:
10+
- files: '*.css'
11+
options:
12+
printWidth: 500
13+
singleQuote: false
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)