Skip to content

Commit ab3d8ff

Browse files
committed
telescope
1 parent 5b67c25 commit ab3d8ff

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

boilerplates/lerna-workspace/.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
"allowTemplateLiterals": true
3535
}
3636
],
37+
"quote-props": [
38+
"error",
39+
"as-needed"
40+
],
3741
"simple-import-sort/imports": 1,
3842
"simple-import-sort/exports": 1,
3943
"unused-imports/no-unused-imports": 1,

boilerplates/telescope/.eslintrc.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,28 @@
1616
"ecmaVersion": "latest",
1717
"sourceType": "module"
1818
},
19-
"plugins": ["@typescript-eslint", "simple-import-sort", "unused-imports"],
19+
"plugins": [
20+
"@typescript-eslint",
21+
"simple-import-sort",
22+
"unused-imports"
23+
],
2024
"rules": {
25+
"indent": [
26+
"error",
27+
2
28+
],
29+
"quotes": [
30+
"error",
31+
"single",
32+
{
33+
"avoidEscape": true,
34+
"allowTemplateLiterals": true
35+
}
36+
],
37+
"quote-props": [
38+
"error",
39+
"as-needed"
40+
],
2141
"simple-import-sort/imports": 1,
2242
"simple-import-sort/exports": 1,
2343
"unused-imports/no-unused-imports": 1,
@@ -36,4 +56,4 @@
3656
"no-implicit-globals": 0,
3757
"@typescript-eslint/no-unsafe-declaration-merging": 0
3858
}
39-
}
59+
}

boilerplates/telescope/.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"trailingComma": "es5",
33
"tabWidth": 2,
44
"semi": true,
5+
"useTabs": false,
56
"singleQuote": false
6-
}
7+
}

boilerplates/telescope/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"scripts": {
1818
"clean": "lerna run clean",
1919
"build": "lerna run build --stream",
20+
"lint": "lerna run lint --parallel",
2021
"test": "lerna run test --stream --scope __PACKAGE_IDENTIFIER__",
2122
"codegen": "lerna run codegen --stream --scope __PACKAGE_IDENTIFIER__",
2223
"symlink": "symlink-workspace --logLevel error",
@@ -25,12 +26,12 @@
2526
"devDependencies": {
2627
"@types/jest": "^29.5.11",
2728
"@types/node": "^20.12.7",
28-
"@typescript-eslint/eslint-plugin": "^6.18.1",
29-
"@typescript-eslint/parser": "^6.18.1",
29+
"@typescript-eslint/eslint-plugin": "^7.10.0",
30+
"@typescript-eslint/parser": "^7.10.0",
3031
"copyfiles": "^2.4.1",
3132
"eslint-config-prettier": "^9.1.0",
32-
"eslint-plugin-simple-import-sort": "^10.0.0",
33-
"eslint-plugin-unused-imports": "^3.0.0",
33+
"eslint-plugin-simple-import-sort": "^12.1.0",
34+
"eslint-plugin-unused-imports": "^4.0.0",
3435
"eslint": "^8.56.0",
3536
"jest": "^29.6.2",
3637
"lerna": "^6",

boilerplates/telescope/packages/__MODULENAME__/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"prepare": "npm run build",
2626
"codegen": "ts-node scripts/codegen.ts",
2727
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
28+
"lint": "eslint . --fix",
2829
"test": "jest",
2930
"test:watch": "jest --watch"
3031
},

0 commit comments

Comments
 (0)