@gooddata/eslint-config 11.20.0-alpha.0 → 11.20.0-alpha.1
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.
- package/README.md +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -178,7 +178,7 @@ module.exports = {
|
|
|
178
178
|
|
|
179
179
|
- **Peer Dependencies**: Only packages from the `common` configuration are listed in `peerDependencies`. Variant-specific packages (e.g., `eslint-plugin-react` for the `react` variant) are **not** included as peer dependencies since they're not required by all consumers.
|
|
180
180
|
|
|
181
|
-
- **Verify Dependencies**: After adopting a configuration, run `npm run
|
|
181
|
+
- **Verify Dependencies**: After adopting a configuration, run `npm run lint` (or your lint command) to ensure all necessary dependencies are present in your project. If you get plugin errors, install the missing packages.
|
|
182
182
|
|
|
183
183
|
## Development Guide
|
|
184
184
|
|
|
@@ -291,7 +291,7 @@ rules: {
|
|
|
291
291
|
|
|
292
292
|
- **`npm run validate`** - Type-checks TypeScript files
|
|
293
293
|
|
|
294
|
-
- **`npm run
|
|
294
|
+
- **`npm run lint`** - Lints the configuration source code
|
|
295
295
|
|
|
296
296
|
## Configuration Structure
|
|
297
297
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/eslint-config",
|
|
3
|
-
"version": "11.20.0-alpha.
|
|
3
|
+
"version": "11.20.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "GoodData",
|
|
6
6
|
"repository": {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"storybook": "^10.1.11",
|
|
139
139
|
"typescript": "5.9.3",
|
|
140
140
|
"vite-node": "^5.2.0",
|
|
141
|
-
"@gooddata/lint-config": "11.20.0-alpha.
|
|
141
|
+
"@gooddata/lint-config": "11.20.0-alpha.1"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"@typescript-eslint/eslint-plugin": "8.52.0",
|
|
@@ -153,11 +153,11 @@
|
|
|
153
153
|
"_phase:validate": "npm run validate",
|
|
154
154
|
"build": "rm -rf dist && mkdir dist && vite-node scripts/build.ts && tsgo",
|
|
155
155
|
"clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage *.log tsconfig.tsbuildinfo",
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
156
|
+
"lint": "eslint .",
|
|
157
|
+
"lint-fix": "eslint . --fix",
|
|
158
|
+
"format-check": "oxfmt --check .",
|
|
159
|
+
"format-write": "oxfmt .",
|
|
160
160
|
"update-package": "vite-node scripts/updatePackage.ts",
|
|
161
|
-
"validate": "npm run
|
|
161
|
+
"validate": "npm run lint && npm run format-check"
|
|
162
162
|
}
|
|
163
163
|
}
|