Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump no-case from 3.0.4 to 4.0.0 #588

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rule-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import { hasOptions } from './rule-options.js';
import { getLinkToRule } from './rule-link.js';
import { capitalizeOnlyFirstLetter, sanitizeMarkdownTable } from './string.js';
import { noCase } from 'no-case';
import { noCase } from 'change-case';
import { getProperty } from 'dot-prop';
import { boolean, isBooleanable } from 'boolean';
import Ajv from 'ajv';
Expand Down Expand Up @@ -371,7 +371,7 @@
throw new Error(`Invalid ruleListSplit value "${ruleListSplitItem}".`);
}
const ruleListSplitTitle = noCase(ruleListSplitFinalPart, {
transform: (str) => capitalizeOnlyFirstLetter(str),

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 18.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 18.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 18.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 20.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 20.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 20.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 22.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 22.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 22.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 23.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 23.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu, 23.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 18.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 18.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 18.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 20.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 20.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 20.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 22.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 22.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 22.x)

Unsafe argument of type `any` assigned to a parameter of type `string`

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 23.x)

Object literal may only specify known properties, and 'transform' does not exist in type 'Options'.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 23.x)

Parameter 'str' implicitly has an 'any' type.

Check failure on line 374 in lib/rule-list.ts

View workflow job for this annotation

GitHub Actions / build (windows, 23.x)

Unsafe argument of type `any` assigned to a parameter of type `string`
});

// Add a list for the rules with property set to this value.
Expand Down
28 changes: 8 additions & 20 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@typescript-eslint/utils": "^8.0.0",
"ajv": "^8.11.2",
"boolean": "^3.2.0",
"change-case": "^5.0.0",
"commander": "^12.1.0",
"cosmiconfig": "^9.0.0",
"deepmerge": "^4.2.2",
Expand All @@ -56,7 +57,6 @@
"json-schema": "^0.4.0",
"json-schema-traverse": "^1.0.0",
"markdown-table": "^3.0.3",
"no-case": "^3.0.4",
"type-fest": "^4.0.0"
},
"devDependencies": {
Expand Down
Loading