Skip to content

Commit

Permalink
Set up ESLint for parser service
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoliy Serputov committed Mar 17, 2022
1 parent d2de2d6 commit 5b1d2fb
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
Expand Down
40 changes: 26 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/api/dependency-discovery/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-shadow
module.exports = {
extends: '@senecacdot/eslint-config-telescope',

Expand All @@ -12,4 +13,8 @@ module.exports = {
},
},
],
rules: {
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error', { hoist: 'all' }],
},
};
2 changes: 1 addition & 1 deletion src/api/dependency-discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"query-registry": "2.2.0"
},
"devDependencies": {
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"env-cmd": "10.1.0",
"eslint": "7.32.0",
"nodemon": "2.0.15"
Expand Down
2 changes: 1 addition & 1 deletion src/api/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"node": ">=12.0.0"
},
"devDependencies": {
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"del-cli": "4.0.1",
"eslint": "7.32.0",
"nodemon": "2.0.15"
Expand Down
2 changes: 1 addition & 1 deletion src/api/status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"node": ">=12.0.0"
},
"devDependencies": {
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"env-cmd": "10.1.0",
"eslint": "7.32.0",
"nodemon": "2.0.15",
Expand Down
2 changes: 1 addition & 1 deletion src/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.17",
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"eslint": "7.32.0"
}
}
2 changes: 1 addition & 1 deletion src/satellite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"pnpm": ">=6"
},
"devDependencies": {
"@senecacdot/eslint-config-telescope": "1.0.0",
"@senecacdot/eslint-config-telescope": "workspace:1.0.0",
"eslint": "7.32.0",
"get-port": "5.1.1",
"jest": "27.5.1",
Expand Down

0 comments on commit 5b1d2fb

Please sign in to comment.