@kazupon/eslint-config 0.10.0 → 0.10.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/dist/index.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -279,8 +279,11 @@ function jsoncSort() {
|
|
|
279
279
|
pathPattern: '^files$'
|
|
280
280
|
}],
|
|
281
281
|
'jsonc/sort-keys': ['error', {
|
|
282
|
-
order: ['name', 'description', 'private', 'version', 'author', 'contributors', 'license', 'funding', 'bugs', 'repository', 'keywords', 'homepage', 'publishConfig', 'packageManager', 'engines', 'os', 'cpu', 'type', '
|
|
282
|
+
order: ['name', 'description', 'private', 'version', 'author', 'contributors', 'license', 'funding', 'bugs', 'repository', 'keywords', 'homepage', 'publishConfig', 'packageManager', 'engines', 'os', 'cpu', 'type', 'sideEffects', 'bin', 'files', 'main', 'module', 'browser', 'unpkg', 'jsdelivr', 'directories', 'exports', 'types', 'typesVersions', 'scripts', 'dependencies', 'peerDependencies', 'peerDependenciesMeta', 'optionalDependencies', 'devDependencies', 'pnpm', 'overrides', 'resolutions', 'workspaces', 'prettier', 'buildOptions', 'lint-staged'],
|
|
283
283
|
pathPattern: '^$'
|
|
284
|
+
}, {
|
|
285
|
+
order: {type: 'asc'},
|
|
286
|
+
pathPattern: '^scripts$'
|
|
284
287
|
}, {
|
|
285
288
|
order: {type: 'asc'},
|
|
286
289
|
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$'
|
package/dist/index.js
CHANGED
|
@@ -254,8 +254,11 @@ function jsoncSort() {
|
|
|
254
254
|
pathPattern: '^files$'
|
|
255
255
|
}],
|
|
256
256
|
'jsonc/sort-keys': ['error', {
|
|
257
|
-
order: ['name', 'description', 'private', 'version', 'author', 'contributors', 'license', 'funding', 'bugs', 'repository', 'keywords', 'homepage', 'publishConfig', 'packageManager', 'engines', 'os', 'cpu', 'type', '
|
|
257
|
+
order: ['name', 'description', 'private', 'version', 'author', 'contributors', 'license', 'funding', 'bugs', 'repository', 'keywords', 'homepage', 'publishConfig', 'packageManager', 'engines', 'os', 'cpu', 'type', 'sideEffects', 'bin', 'files', 'main', 'module', 'browser', 'unpkg', 'jsdelivr', 'directories', 'exports', 'types', 'typesVersions', 'scripts', 'dependencies', 'peerDependencies', 'peerDependenciesMeta', 'optionalDependencies', 'devDependencies', 'pnpm', 'overrides', 'resolutions', 'workspaces', 'prettier', 'buildOptions', 'lint-staged'],
|
|
258
258
|
pathPattern: '^$'
|
|
259
|
+
}, {
|
|
260
|
+
order: {type: 'asc'},
|
|
261
|
+
pathPattern: '^scripts$'
|
|
259
262
|
}, {
|
|
260
263
|
order: {type: 'asc'},
|
|
261
264
|
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kazupon/eslint-config",
|
|
3
3
|
"description": "ESLint config for @kazupon",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "kawakazu80@gmail.com",
|
|
7
7
|
"name": "kazuya kawaguchi"
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"node": ">= 18.18"
|
|
28
28
|
},
|
|
29
29
|
"type": "module",
|
|
30
|
-
"main": "./dist/index.cjs",
|
|
31
|
-
"module": "./dist/index.js",
|
|
32
30
|
"files": [
|
|
33
31
|
"dist"
|
|
34
32
|
],
|
|
33
|
+
"main": "./dist/index.cjs",
|
|
34
|
+
"module": "./dist/index.js",
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
|
37
37
|
"import": "./dist/index.js",
|