Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 164204e

Browse files
authoredMar 13, 2024
strict return types (#1320)
1 parent 02b3f8b commit 164204e

File tree

370 files changed

+1024
-1201
lines changed

Some content is hidden

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

370 files changed

+1024
-1201
lines changed
 

‎.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"rules": {
3838
"no-shadow": "off",
3939
"@typescript-eslint/no-shadow": "error",
40-
"@typescript-eslint/array-type": ["error", { "default": "generic" }]
40+
"@typescript-eslint/array-type": ["error", { "default": "generic" }],
41+
"@typescript-eslint/explicit-function-return-type": "error"
4142
}
4243
}
4344
]

‎cli/csstools-cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import postcssTrigonometricFunctions from './plugins/postcss-trigonometric-funct
4848
import postcssUnsetValue from './plugins/postcss-unset-value';
4949

5050
main();
51-
function main() {
51+
function main(): void {
5252
switch (process.argv[2] ?? false) {
5353
case 'css-blank-pseudo':
5454
cssBlankPseudo();

0 commit comments

Comments
 (0)
Please sign in to comment.