Skip to content

Commit a59a964

Browse files
committed
fix: #4623 re-adds js linting, fixes typechecking in vscode
1 parent 0fdc308 commit a59a964

File tree

62 files changed

+120
-110
lines changed

Some content is hidden

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

62 files changed

+120
-110
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
packages/foundations-ts-definitions/types/**/*
22
packages/**/*.graphql
3-
packages/**/*.js

packages/admin-portal/babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { baseBabel } = require('@reapit/ts-scripts')
22

33
module.exports = {
4-
...baseBabel
5-
}
4+
...baseBabel,
5+
}

packages/admin-portal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start": "webpack serve --hot --color --mode development",
1212
"test": "cross-env TZ=UTC jest --watch --colors --silent",
1313
"build": "rimraf public/dist && NODE_ENV=production webpack",
14-
"lint": "eslint --cache --ext=ts,tsx src --fix",
14+
"lint": "eslint --cache --ext=ts,tsx,js src --fix",
1515
"release": "serverless deploy",
1616
"publish": "echo '...skipping...'",
1717
"conf": "yarn config-manager --namespace cloud --entity admin-portal --name local --mode fetch",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { baseBabel } = require('@reapit/ts-scripts')
22

33
module.exports = {
4-
...baseBabel
5-
}
4+
...baseBabel,
5+
}

packages/aml-checklist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start": "webpack serve --hot --color --mode development",
1515
"test": "cross-env TZ=UTC jest --watch --colors --silent",
1616
"build": "rimraf public/dist && NODE_ENV=production webpack",
17-
"lint": "eslint --cache --ext=ts,tsx src --fix",
17+
"lint": "eslint --cache --ext=ts,tsx,js src --fix",
1818
"release": "serverless deploy",
1919
"publish": "echo '...skipping...'",
2020
"conf": "yarn config-manager --namespace cloud --entity aml-checklist --name local --mode fetch",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { baseBabel } = require('@reapit/ts-scripts')
22

33
module.exports = {
4-
...baseBabel
5-
}
4+
...baseBabel,
5+
}

packages/api-key-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"start": "reapit-fetch-public-keys && yarn build && yarn serverless offline start --runtime nodejs12.x --stage local",
2626
"build": "echo '...skipping...'",
27-
"lint": "eslint --cache --ext=ts,tsx src --fix",
27+
"lint": "eslint --cache --ext=ts,tsx,js src --fix",
2828
"test": "reapit-fetch-public-keys --test && cross-env TZ=UTC jest --colors --watch --silent",
2929
"conf": "yarn config-manager --namespace cloud --entity api-key-service --name local --mode fetch",
3030
"release": "reapit-fetch-public-keys && serverless deploy",

packages/api-key-verify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"start": "echo '...skipping...'",
1414
"test": "cross-env TZ=UTC jest --watch --colors",
1515
"build": "echo '...skipping...'",
16-
"lint": "eslint --cache --ext=ts,tsx src --fix",
16+
"lint": "eslint --cache --ext=ts,tsx,js src --fix",
1717
"release": "echo '...skipping...'",
1818
"publish": "yarn npm publish --access public",
1919
"conf": "echo '...skipping...'",

packages/app-builder/babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { baseBabel } = require('@reapit/ts-scripts')
22

33
module.exports = {
4-
...baseBabel
5-
}
4+
...baseBabel,
5+
}

packages/app-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start": "webpack serve --hot --color --mode development",
1515
"test": "cross-env TZ=UTC jest --watch --colors --silent",
1616
"build": "rimraf public/dist && NODE_ENV=production webpack",
17-
"lint": "eslint --cache --ext=ts,tsx src --fix",
17+
"lint": "eslint --cache --ext=ts,tsx,js src --fix",
1818
"release": "serverless deploy",
1919
"publish": "echo '...skipping...'",
2020
"conf": "yarn config-manager --namespace cloud --entity app-builder --name local --mode fetch",

0 commit comments

Comments
 (0)