Skip to content

Commit ce01905

Browse files
authored
chore: use lockfile v2 (#473)
* chore: use lockfile v2 * `@typescript-eslint/naming-convention` to turn off
1 parent 1b38525 commit ce01905

File tree

8 files changed

+25798
-3582
lines changed

8 files changed

+25798
-3582
lines changed

.eslintrc.js

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,7 @@ module.exports = {
6363
},
6464
rules: {
6565
"no-implicit-globals": "off",
66-
"@typescript-eslint/naming-convention": [
67-
"error",
68-
{
69-
selector: "default",
70-
format: ["camelCase"],
71-
leadingUnderscore: "allow",
72-
trailingUnderscore: "allow",
73-
},
74-
{
75-
selector: "variable",
76-
format: ["camelCase", "UPPER_CASE"],
77-
leadingUnderscore: "allow",
78-
trailingUnderscore: "allow",
79-
},
80-
{
81-
selector: "typeLike",
82-
format: ["PascalCase"],
83-
},
84-
{
85-
selector: "property",
86-
format: ["camelCase", "UPPER_CASE", "PascalCase"],
87-
},
88-
{
89-
selector: "method",
90-
format: ["camelCase", "UPPER_CASE", "PascalCase"],
91-
},
92-
],
66+
"@typescript-eslint/naming-convention": "off",
9367
},
9468
},
9569
{

lib/utils/string-literal-parser/tokenizer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const CP_BACKTICK = "`".codePointAt(0)!
55
const CP_CR = "\r".codePointAt(0)!
66
const CP_LF = "\n".codePointAt(0)!
77
const CP_OPENING_BRACE = "{".codePointAt(0)!
8-
/* eslint-disable @typescript-eslint/naming-convention -- ignore */
98
const CP_a = "a".codePointAt(0)!
109
const CP_A = "A".codePointAt(0)!
1110
const CP_n = "n".codePointAt(0)!
@@ -20,7 +19,6 @@ const CP_0 = "0".codePointAt(0)!
2019
const CP_7 = "7".codePointAt(0)!
2120
const CP_8 = "8".codePointAt(0)!
2221
const CP_9 = "9".codePointAt(0)!
23-
/* eslint-enable @typescript-eslint/naming-convention -- ignore */
2422

2523
export class Tokenizer {
2624
private readonly source: string

lib/utils/type-tracker/jsdoc/jsdoctypeparser-ast.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// eslint-disable-next-line eslint-comments/disable-enable-pair -- ignore
2-
/* eslint-disable @typescript-eslint/naming-convention -- ignore */
31
// https://github.com/jsdoctypeparser/jsdoctypeparser#ast-specifications
42
// https://jsdoctypeparser.github.io/
53

lib/utils/type-tracker/type-data/bigint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ export function buildBigIntConstructor(): TypeGlobalFunction {
5656
return new TypeGlobalFunction(() => BIGINT, BIGINT_TYPES)
5757
}
5858
const getPrototypes: () => {
59-
[key in keyof BigInt]: TypeInfo | null
59+
[key in keyof bigint]: TypeInfo | null
6060
} = cache(() =>
6161
createObject<{
62-
[key in keyof BigInt]: TypeInfo | null
62+
[key in keyof bigint]: TypeInfo | null
6363
}>({
6464
...getObjectPrototypes(),
6565
toString: RETURN_STRING,

lib/utils/type-tracker/type-data/regexp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export function buildRegExpConstructor(): TypeGlobalFunction {
6565
$7: STRING,
6666
$8: STRING,
6767
$9: STRING,
68-
// eslint-disable-next-line @typescript-eslint/naming-convention -- ignore
6968
$_: STRING,
7069
"$&": STRING,
7170
"$+": STRING,

0 commit comments

Comments
 (0)