@zinkawaii/eslint-config 0.1.4 → 0.1.5
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.js +14 -5
- package/package.json +7 -5
package/dist/index.js
CHANGED
@@ -127,7 +127,6 @@ var standard_default = prefixary({
|
|
127
127
|
"max-nested-callbacks": "off",
|
128
128
|
"max-params": "off",
|
129
129
|
"max-statements": "off",
|
130
|
-
"multiline-comment-style": "warn",
|
131
130
|
"new-cap": "warn",
|
132
131
|
"no-alert": "warn",
|
133
132
|
"no-array-constructor": "warn",
|
@@ -251,6 +250,8 @@ var standard_default = prefixary({
|
|
251
250
|
|
252
251
|
// src/lib/stylistic.ts
|
253
252
|
var stylistic_default = prefixary("style", {
|
253
|
+
"array-bracket-newline": ["warn", "consistent"],
|
254
|
+
"array-bracket-spacing": ["warn", "never"],
|
254
255
|
"array-element-newline": ["warn", "consistent"],
|
255
256
|
"arrow-parens": ["warn", "always"],
|
256
257
|
"arrow-spacing": ["warn", {
|
@@ -271,9 +272,6 @@ var stylistic_default = prefixary("style", {
|
|
271
272
|
"function-call-argument-newline": ["warn", "consistent"],
|
272
273
|
"function-call-spacing": ["warn", "never"],
|
273
274
|
"function-paren-newline": ["warn", "consistent"],
|
274
|
-
"implicit-arrow-linebreak": ["warn", "beside"],
|
275
|
-
"indent": "off",
|
276
|
-
"indent-binary-ops": "off",
|
277
275
|
"generator-star-spacing": ["warn", {
|
278
276
|
named: {
|
279
277
|
before: false,
|
@@ -288,7 +286,9 @@ var stylistic_default = prefixary("style", {
|
|
288
286
|
after: true
|
289
287
|
}
|
290
288
|
}],
|
291
|
-
"
|
289
|
+
"implicit-arrow-linebreak": ["warn", "beside"],
|
290
|
+
"indent": "off",
|
291
|
+
"indent-binary-ops": "off",
|
292
292
|
"key-spacing": ["warn", {
|
293
293
|
beforeColon: false,
|
294
294
|
afterColon: true,
|
@@ -298,18 +298,24 @@ var stylistic_default = prefixary("style", {
|
|
298
298
|
before: true,
|
299
299
|
after: true
|
300
300
|
}],
|
301
|
+
"line-comment-position": "off",
|
301
302
|
"linebreak-style": ["warn", "unix"],
|
303
|
+
"lines-around-comment": "off",
|
302
304
|
"lines-between-class-members": ["warn", "always", {
|
303
305
|
exceptAfterSingleLine: true
|
304
306
|
}],
|
307
|
+
"max-len": "off",
|
308
|
+
"max-statements-per-line": "off",
|
305
309
|
"member-delimiter-style": ["warn", {
|
306
310
|
multiline: {
|
307
311
|
delimiter: "semi",
|
308
312
|
requireLast: true
|
309
313
|
}
|
310
314
|
}],
|
315
|
+
"multiline-comment-style": "off",
|
311
316
|
"multiline-ternary": "off",
|
312
317
|
"new-parens": "warn",
|
318
|
+
"newline-per-chained-call": "off",
|
313
319
|
"no-confusing-arrow": "warn",
|
314
320
|
"no-extra-parens": ["warn", "functions"],
|
315
321
|
"no-extra-semi": "warn",
|
@@ -331,8 +337,10 @@ var stylistic_default = prefixary("style", {
|
|
331
337
|
"object-property-newline": ["warn", {
|
332
338
|
allowAllPropertiesOnSameLine: true
|
333
339
|
}],
|
340
|
+
"one-var-declaration-per-line": "off",
|
334
341
|
"operator-linebreak": "off",
|
335
342
|
"padded-blocks": ["warn", "never"],
|
343
|
+
"padding-line-between-statements": "off",
|
336
344
|
"quote-props": ["warn", "as-needed"],
|
337
345
|
"quotes": ["warn", "double", {
|
338
346
|
allowTemplateLiterals: true
|
@@ -374,6 +382,7 @@ var stylistic_default = prefixary("style", {
|
|
374
382
|
"wrap-iife": ["warn", "inside", {
|
375
383
|
functionPrototypeMethods: true
|
376
384
|
}],
|
385
|
+
"wrap-regex": "off",
|
377
386
|
"yield-star-spacing": ["warn", "after"]
|
378
387
|
});
|
379
388
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zinkawaii/eslint-config",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.5",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "KazariEX",
|
6
6
|
"repository": "KazariEX/eslint-config",
|
@@ -12,17 +12,19 @@
|
|
12
12
|
"types": "./index.d.ts",
|
13
13
|
"exports": {
|
14
14
|
".": {
|
15
|
+
"types": "./index.d.ts",
|
15
16
|
"import": "./dist/index.js",
|
16
|
-
"require": "./dist/index.cjs"
|
17
|
-
"types": "./index.d.ts"
|
17
|
+
"require": "./dist/index.cjs"
|
18
18
|
}
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"@antfu/eslint-config": "^2.
|
21
|
+
"@antfu/eslint-config": "^2.27.1",
|
22
|
+
"eslint": "^9.9.1",
|
22
23
|
"tsup": "^8.2.4"
|
23
24
|
},
|
24
25
|
"scripts": {
|
25
26
|
"build": "tsup",
|
26
|
-
"watch": "tsup --watch"
|
27
|
+
"watch": "tsup --watch",
|
28
|
+
"eslint": "eslint ."
|
27
29
|
}
|
28
30
|
}
|