immosquare-cleaner 1.2.2 → 1.2.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/processors/prettier.rb +8 -5
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/package.json +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53d2dc2a160c411d3acbeb2dc03692343ef60b598468fe288bfca2ec85667e87
|
|
4
|
+
data.tar.gz: 802af16e18bb055b0f6a6a77b2e9ec47d2a1dab3d7a624ee848cd4f813f27e48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c75021c32ffb683d464ef3834eb0e40bec740645f7be9afc045942b99093b160ad6e9867798858d37b030e34227a2f1b31df72895e9e376cd704f82af4e522a4
|
|
7
|
+
data.tar.gz: d4023816cebb368e5bff4bbc5ac7b824135532b2d738b74a0df0c530923a375bef4ee627a77f31d09ffd22d1e44bcc94f3e77d241963eb83ca142d8d039f98d8
|
|
@@ -33,12 +33,15 @@ module ImmosquareCleaner
|
|
|
33
33
|
|
|
34
34
|
##============================================================##
|
|
35
35
|
## Prettier flags:
|
|
36
|
-
## --no-color
|
|
37
|
-
##
|
|
38
|
-
## --write
|
|
39
|
-
## --
|
|
36
|
+
## --no-color : strip ANSI escape codes — VS Code Output
|
|
37
|
+
## panel renders them as raw `ESC` characters
|
|
38
|
+
## --write : format the file in place
|
|
39
|
+
## --ignore-unknown : leave files Prettier has no parser for
|
|
40
|
+
## (bun.lock, LICENSE…) untouched instead of
|
|
41
|
+
## failing with "No parser could be inferred"
|
|
42
|
+
## --config : pin the shared config shipped with the gem
|
|
40
43
|
##============================================================##
|
|
41
|
-
cmds = ["bun prettier --no-color --write #{Shellwords.escape(file_path)} --config #{ImmosquareCleaner.gem_root}/linters/prettier.yml"]
|
|
44
|
+
cmds = ["bun prettier --no-color --write --ignore-unknown #{Shellwords.escape(file_path)} --config #{ImmosquareCleaner.gem_root}/linters/prettier.yml"]
|
|
42
45
|
launch_cmds(cmds)
|
|
43
46
|
end
|
|
44
47
|
|
data/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "immosquare-cleaner",
|
|
3
3
|
"//": [
|
|
4
|
-
"TypeScript 7
|
|
5
|
-
"ESLint
|
|
6
|
-
"
|
|
4
|
+
"TypeScript 7 provides tsc through @typescript/native.",
|
|
5
|
+
"ESLint and SonarJS use the TypeScript 6 API through the official @typescript/typescript6 alias.",
|
|
6
|
+
"Keep this alias until both tools support the native TypeScript API."
|
|
7
7
|
],
|
|
8
8
|
"private": true,
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@babel/parser": "^8.0.
|
|
10
|
+
"@babel/parser": "^8.0.7",
|
|
11
11
|
"@eslint/js": "^10.0.1",
|
|
12
|
-
"@typescript-eslint/eslint-plugin": "^8.71.
|
|
13
|
-
"@typescript-eslint/parser": "^8.71.
|
|
12
|
+
"@typescript-eslint/eslint-plugin": "^8.71.2",
|
|
13
|
+
"@typescript-eslint/parser": "^8.71.2",
|
|
14
14
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
15
15
|
"eslint": "^10.12.0",
|
|
16
16
|
"eslint-plugin-align-import": "^1.0.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
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.9.
|
|
22
|
-
"typescript": "
|
|
21
|
+
"prettier": "^3.9.10",
|
|
22
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|