Skip to content

Commit 7f0bc55

Browse files
razor-xseambot
andauthored
Use @seamapi/smith for dependencies and config (#606)
* Use @seamapi/smith for dependencies and config * Use helpers and getHandlebarsPartials from smith * ci: Format code * Move types import to metalsmith.ts * Use blueprint from smith * Rename metalsmith to smith * Move most things to dependencies * Move layouts up * Update smith * ci: Generate docs * Set default layout * ci: Generate docs --------- Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent e8b4723 commit 7f0bc55

21 files changed

Lines changed: 3557 additions & 994 deletions

.eslintrc.json

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,4 @@
11
{
22
"root": true,
3-
"plugins": ["simple-import-sort", "unused-imports"],
4-
"parserOptions": {
5-
"sourceType": "module",
6-
"ecmaVersion": "latest"
7-
},
8-
"rules": {
9-
"no-console": "error",
10-
"unused-imports/no-unused-imports": "error",
11-
"unused-imports/no-unused-vars": [
12-
"error",
13-
{
14-
"vars": "all",
15-
"varsIgnorePattern": "^_",
16-
"args": "after-used",
17-
"argsIgnorePattern": "^_",
18-
"ignoreRestSiblings": true
19-
}
20-
],
21-
"import/extensions": ["error", "ignorePackages"],
22-
"import/no-duplicates": ["error", { "prefer-inline": true }],
23-
"import/no-relative-parent-imports": "error",
24-
"simple-import-sort/imports": [
25-
"error",
26-
{
27-
"groups": [
28-
["^\\u0000"],
29-
["^node:"],
30-
["^@?\\w"],
31-
["@seamapi/makenew-tsmodule"],
32-
["^lib/"],
33-
["^"],
34-
["^\\."]
35-
]
36-
}
37-
],
38-
"simple-import-sort/exports": "error"
39-
},
40-
"overrides": [
41-
{
42-
"files": ["*.js", "*.mjs", "*.cjs"],
43-
"extends": ["standard", "prettier"]
44-
},
45-
{
46-
"files": ["*.ts", "*.tsx"],
47-
"extends": ["standard-with-typescript", "prettier"],
48-
"parserOptions": {
49-
"project": "./tsconfig.json"
50-
},
51-
"rules": {
52-
"@typescript-eslint/no-import-type-side-effects": "error",
53-
"@typescript-eslint/consistent-type-imports": [
54-
"error",
55-
{
56-
"fixStyle": "inline-type-imports"
57-
}
58-
],
59-
"@typescript-eslint/no-unused-vars": "off"
60-
}
61-
}
62-
]
3+
"extends": ["./node_modules/@seamapi/smith/dist/eslint.cjs"]
634
}

0 commit comments

Comments
 (0)