immosquare-cleaner 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/normalize-comments.mjs +2 -2
- data/package.json +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86a7b8e99d0daa13e83d2d00673d3f69d38b0001aaac2dbad27dde414fa55061
|
|
4
|
+
data.tar.gz: 82a64aca718a273fba525466ef3d154098d1c8f5d36b5b1981d5ee5b6bb47879
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 524a0154ceb87137972194cb504ec7775ddc9987f56a3bfb147d32bcd0ef2a0b6eef469d7d432ceab865d9e4befec2fe414793fae21ff4c4f212042129f3c307
|
|
7
|
+
data.tar.gz: 4b8bc64e9585d168caaf1267b1adbb361f1275c89c081e9d695a1617fac7c929b73821c9af5029a5c389dd2ddcb1891769ac9688613cb01130765f82ed302602
|
|
@@ -15,11 +15,11 @@ const normalizeComments = (filePath) => {
|
|
|
15
15
|
const lines = code.split("\n")
|
|
16
16
|
|
|
17
17
|
//============================================================//
|
|
18
|
-
//
|
|
18
|
+
// Plain TypeScript keeps JSX off so generic arrows are not parsed as opening tags.
|
|
19
19
|
//============================================================//
|
|
20
20
|
const ast = babelParser.parse(code, {
|
|
21
21
|
sourceType: "module",
|
|
22
|
-
plugins: ["typescript", "jsx"]
|
|
22
|
+
plugins: filePath.toLowerCase().endsWith(".ts") ? ["typescript"] : ["typescript", "jsx"]
|
|
23
23
|
})
|
|
24
24
|
|
|
25
25
|
//============================================================//
|
data/package.json
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
],
|
|
8
8
|
"private": true,
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@babel/parser": "^8.0
|
|
10
|
+
"@babel/parser": "^8.1.0",
|
|
11
11
|
"@eslint/js": "^10.0.1",
|
|
12
|
-
"@typescript-eslint/eslint-plugin": "^8.72.
|
|
13
|
-
"@typescript-eslint/parser": "^8.72.
|
|
12
|
+
"@typescript-eslint/eslint-plugin": "^8.72.2",
|
|
13
|
+
"@typescript-eslint/parser": "^8.72.2",
|
|
14
14
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
15
|
-
"eslint": "^10.
|
|
15
|
+
"eslint": "^10.14.0",
|
|
16
16
|
"eslint-plugin-align-import": "^1.0.0",
|
|
17
17
|
"eslint-plugin-erb": "^2.1.1",
|
|
18
18
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
19
19
|
"eslint-plugin-sonarjs": "^4.2.2",
|
|
20
20
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
21
|
-
"prettier": "^3.
|
|
21
|
+
"prettier": "^3.10.0",
|
|
22
22
|
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: immosquare-cleaner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- immosquare
|
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
224
224
|
- !ruby/object:Gem::Version
|
|
225
225
|
version: '0'
|
|
226
226
|
requirements: []
|
|
227
|
-
rubygems_version: 4.0.
|
|
227
|
+
rubygems_version: 4.0.24
|
|
228
228
|
specification_version: 4
|
|
229
229
|
summary: One command to format every file of a repository, built to run as an AI agent
|
|
230
230
|
hook.
|