Skip to content

Commit

Permalink
telescope
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed May 25, 2024
1 parent 5b67c25 commit ab3d8ff
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
4 changes: 4 additions & 0 deletions boilerplates/lerna-workspace/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
"allowTemplateLiterals": true
}
],
"quote-props": [
"error",
"as-needed"
],
"simple-import-sort/imports": 1,
"simple-import-sort/exports": 1,
"unused-imports/no-unused-imports": 1,
Expand Down
24 changes: 22 additions & 2 deletions boilerplates/telescope/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,28 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "simple-import-sort", "unused-imports"],
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"unused-imports"
],
"rules": {
"indent": [
"error",
2
],
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"quote-props": [
"error",
"as-needed"
],
"simple-import-sort/imports": 1,
"simple-import-sort/exports": 1,
"unused-imports/no-unused-imports": 1,
Expand All @@ -36,4 +56,4 @@
"no-implicit-globals": 0,
"@typescript-eslint/no-unsafe-declaration-merging": 0
}
}
}
3 changes: 2 additions & 1 deletion boilerplates/telescope/.prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"useTabs": false,
"singleQuote": false
}
}
9 changes: 5 additions & 4 deletions boilerplates/telescope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"scripts": {
"clean": "lerna run clean",
"build": "lerna run build --stream",
"lint": "lerna run lint --parallel",
"test": "lerna run test --stream --scope __PACKAGE_IDENTIFIER__",
"codegen": "lerna run codegen --stream --scope __PACKAGE_IDENTIFIER__",
"symlink": "symlink-workspace --logLevel error",
Expand All @@ -25,12 +26,12 @@
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"copyfiles": "^2.4.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-unused-imports": "^4.0.0",
"eslint": "^8.56.0",
"jest": "^29.6.2",
"lerna": "^6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"prepare": "npm run build",
"codegen": "ts-node scripts/codegen.ts",
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
"lint": "eslint . --fix",
"test": "jest",
"test:watch": "jest --watch"
},
Expand Down

0 comments on commit ab3d8ff

Please sign in to comment.