Skip to content

Commit e0270c6

Browse files
committed
refactor: rename package from eslint-formatter-multiple-formats to eslint-formatter-multi
1 parent fe10e39 commit e0270c6

File tree

17 files changed

+17
-36
lines changed

17 files changed

+17
-36
lines changed

tools/eslint-formatter-multiple-formats/README.md renamed to tools/eslint-formatter-multi/README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ESLint Multiple-Formats Formatter
1+
# ESLint Multi Formatter
22

33
The ESLint plugin uses a custom formatter that supports multiple output formats and destinations simultaneously.
44

@@ -61,24 +61,6 @@ ESLINT_FORMATTER_CONFIG='{"formats":[],"terminal":"stylish"}' npx eslint .
6161
ESLINT_FORMATTER_CONFIG='{"formats":[],"terminal":"stylish"}' npx eslint .
6262
```
6363

64-
### Configuration from File
65-
66-
```bash
67-
# Create a configuration file
68-
cat > eslint-config.json << 'EOF'
69-
{
70-
"outputDir": "./ci-reports",
71-
"filename": "eslint-report",
72-
"formats": ["json", "stylish"],
73-
"terminal": "stylish",
74-
"verbose": true
75-
}
76-
EOF
77-
78-
# Use the configuration file
79-
ESLINT_FORMATTER_CONFIG="$(cat eslint-config.json)" npx eslint .
80-
```
81-
8264
## Default Behavior
8365

8466
When no `ESLINT_FORMATTER_CONFIG` is provided, the formatter uses these defaults:
File renamed without changes.

tools/eslint-formatter-multiple-formats/package.json renamed to tools/eslint-formatter-multi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "eslint-formatter-multiple-formats",
2+
"name": "eslint-formatter-multi",
33
"version": "0.0.1",
44
"private": false,
55
"type": "module",
@@ -14,7 +14,7 @@
1414
"repository": {
1515
"type": "git",
1616
"url": "https://github.com/code-pushup/cli.git",
17-
"directory": "tools/eslint-formatter-multiple-formats"
17+
"directory": "tools/eslint-formatter-multi"
1818
},
1919
"keywords": [
2020
"eslint",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "eslint-formatter-multi",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"sourceRoot": "tools/eslint-formatter-multi/src",
5+
"projectType": "library",
6+
"tags": ["scope:tooling", "type:util"],
7+
"targets": {
8+
"lint": {},
9+
"unit-test": {},
10+
"build": {}
11+
}
12+
}
File renamed without changes.

tools/eslint-formatter-multiple-formats/src/lib/multiple-formats.ts renamed to tools/eslint-formatter-multi/src/lib/multiple-formats.ts

File renamed without changes.
File renamed without changes.

tools/eslint-formatter-multiple-formats/src/lib/text-table.ts renamed to tools/eslint-formatter-multi/src/lib/text-table.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)