@scayle/eslint-config-storefront 4.5.11 → 4.5.12
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/CHANGELOG.md +7 -7
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @aboutyou/eslint-config-sfc
|
|
2
2
|
|
|
3
|
-
## 4.5.
|
|
3
|
+
## 4.5.12
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependency `typescript-eslint@8.
|
|
7
|
+
- Updated dependency `typescript-eslint@8.35.0` to `typescript-eslint@8.35.1`
|
|
8
8
|
|
|
9
9
|
## 4.5.10
|
|
10
10
|
|
|
@@ -157,18 +157,18 @@
|
|
|
157
157
|
|
|
158
158
|
```js
|
|
159
159
|
// eslint.config.mjs
|
|
160
|
-
import eslintConfigStorefront from
|
|
160
|
+
import eslintConfigStorefront from "@scayle/eslint-config-storefront";
|
|
161
161
|
|
|
162
|
-
export default eslintConfigStorefront()
|
|
162
|
+
export default eslintConfigStorefront();
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
For Nuxt projects using `@nuxt/eslint` module:
|
|
166
166
|
|
|
167
167
|
```js
|
|
168
|
-
import withNuxt from
|
|
169
|
-
import eslintConfigStorefront from
|
|
168
|
+
import withNuxt from "./.nuxt/eslint.config.mjs";
|
|
169
|
+
import eslintConfigStorefront from "@scayle/eslint-config-storefront";
|
|
170
170
|
|
|
171
|
-
export default withNuxt(eslintConfigStorefront())
|
|
171
|
+
export default withNuxt(eslintConfigStorefront());
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
The `@scayle/eslint-config-storefront` package exports a factory function `eslintConfigStorefront()`. The factory function is able to automatically detect if a project is using the `@nuxt/eslint` package and automatically disables certain duplicate rules that are provided by `@nuxt/eslint`. This can also manually be adjusted by passing `{ isNuxt: true }` as parameter to `eslintConfigStorefront()`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/eslint-config-storefront",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.12",
|
|
4
4
|
"description": "SCAYLE Commerce Engine specific eslint configuration",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"eslint-plugin-promise": "^7.2.1",
|
|
43
43
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
44
44
|
"local-pkg": "^1.0.0",
|
|
45
|
-
"typescript-eslint": "8.35.
|
|
45
|
+
"typescript-eslint": "8.35.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"dprint": "0.50.
|
|
49
|
-
"eslint": "9.
|
|
48
|
+
"dprint": "0.50.1",
|
|
49
|
+
"eslint": "9.30.0",
|
|
50
50
|
"eslint-formatter-gitlab": "6.0.1",
|
|
51
51
|
"publint": "0.3.12",
|
|
52
52
|
"typescript": "5.8.3"
|