@scayle/eslint-config-storefront 4.5.12 → 4.5.14
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 +17 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @aboutyou/eslint-config-sfc
|
|
2
2
|
|
|
3
|
+
## 4.5.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `typescript-eslint@8.35.1` to `typescript-eslint@8.36.0`
|
|
8
|
+
|
|
9
|
+
## 4.5.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependency `typescript-eslint@8.35.1` to `typescript-eslint@8.36.0`
|
|
14
|
+
|
|
3
15
|
## 4.5.12
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -157,18 +169,18 @@
|
|
|
157
169
|
|
|
158
170
|
```js
|
|
159
171
|
// eslint.config.mjs
|
|
160
|
-
import eslintConfigStorefront from
|
|
172
|
+
import eslintConfigStorefront from '@scayle/eslint-config-storefront'
|
|
161
173
|
|
|
162
|
-
export default eslintConfigStorefront()
|
|
174
|
+
export default eslintConfigStorefront()
|
|
163
175
|
```
|
|
164
176
|
|
|
165
177
|
For Nuxt projects using `@nuxt/eslint` module:
|
|
166
178
|
|
|
167
179
|
```js
|
|
168
|
-
import withNuxt from
|
|
169
|
-
import eslintConfigStorefront from
|
|
180
|
+
import withNuxt from './.nuxt/eslint.config.mjs'
|
|
181
|
+
import eslintConfigStorefront from '@scayle/eslint-config-storefront'
|
|
170
182
|
|
|
171
|
-
export default withNuxt(eslintConfigStorefront())
|
|
183
|
+
export default withNuxt(eslintConfigStorefront())
|
|
172
184
|
```
|
|
173
185
|
|
|
174
186
|
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.14",
|
|
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.
|
|
45
|
+
"typescript-eslint": "8.36.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"dprint": "0.50.1",
|
|
49
|
-
"eslint": "9.
|
|
49
|
+
"eslint": "9.31.0",
|
|
50
50
|
"eslint-formatter-gitlab": "6.0.1",
|
|
51
51
|
"publint": "0.3.12",
|
|
52
52
|
"typescript": "5.8.3"
|