Skip to content

Commit ba43e95

Browse files
committed
Updated linting for actions
1 parent 0fd83eb commit ba43e95

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
},
1515
"plugins": ["@typescript-eslint"],
1616
"rules": {
17-
"@typescript-eslint/ban-types": "off"
17+
"@typescript-eslint/ban-types": "off",
18+
"@typescript-eslint/no-empty-function": "off",
19+
"@typescript-eslint/no-explicit-any": "off",
20+
"@typescript-eslint/no-unused-vars": "warn"
1821
}
1922
}

application/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"start": "ng serve",
77
"build": "ng build",
88
"test": "ng test",
9-
"lint": "ng lint",
9+
"lint": "prettier --check --write 'src/**/*.{ts,tsx,scss}' && npm run lint:es",
10+
"lint:es": "eslint --fix src/**/*.{ts,tsx}",
1011
"e2e": "ng e2e",
1112
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
1213
"serve:ssr": "node dist/server",

0 commit comments

Comments
 (0)