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