Skip to content

Commit

Permalink
chore(api-rest): enable eslint and remove tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Feb 12, 2024
1 parent be19c09 commit a4107c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 46 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
'analytics',
// 'api',
'api-graphql',
// 'api-rest',
'auth',
'aws-amplify',
'core',
Expand Down
3 changes: 2 additions & 1 deletion packages/api-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"clean": "npm run clean:size && rimraf dist lib lib-esm",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
"lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 70.0"
},
"exports": {
Expand Down
45 changes: 0 additions & 45 deletions packages/api-rest/tslint.json

This file was deleted.

0 comments on commit a4107c6

Please sign in to comment.