@zinkawaii/eslint-config 0.1.4 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/index.js +19 -5
  2. package/package.json +7 -5
package/dist/index.js CHANGED
@@ -15,6 +15,8 @@ var patch_default = prefixary({
15
15
  "antfu/top-level-function": "off",
16
16
  "node/prefer-global/process": "off",
17
17
  "ts/no-unused-expressions": "off",
18
+ "unicorn/no-new-array": "off",
19
+ "unicorn/consistent-function-scoping": "off",
18
20
  "unused-imports/no-unused-vars": "off"
19
21
  });
20
22
 
@@ -127,7 +129,6 @@ var standard_default = prefixary({
127
129
  "max-nested-callbacks": "off",
128
130
  "max-params": "off",
129
131
  "max-statements": "off",
130
- "multiline-comment-style": "warn",
131
132
  "new-cap": "warn",
132
133
  "no-alert": "warn",
133
134
  "no-array-constructor": "warn",
@@ -251,6 +252,8 @@ var standard_default = prefixary({
251
252
 
252
253
  // src/lib/stylistic.ts
253
254
  var stylistic_default = prefixary("style", {
255
+ "array-bracket-newline": ["warn", "consistent"],
256
+ "array-bracket-spacing": ["warn", "never"],
254
257
  "array-element-newline": ["warn", "consistent"],
255
258
  "arrow-parens": ["warn", "always"],
256
259
  "arrow-spacing": ["warn", {
@@ -271,9 +274,6 @@ var stylistic_default = prefixary("style", {
271
274
  "function-call-argument-newline": ["warn", "consistent"],
272
275
  "function-call-spacing": ["warn", "never"],
273
276
  "function-paren-newline": ["warn", "consistent"],
274
- "implicit-arrow-linebreak": ["warn", "beside"],
275
- "indent": "off",
276
- "indent-binary-ops": "off",
277
277
  "generator-star-spacing": ["warn", {
278
278
  named: {
279
279
  before: false,
@@ -288,7 +288,9 @@ var stylistic_default = prefixary("style", {
288
288
  after: true
289
289
  }
290
290
  }],
291
- "jsx-quotes": ["warn", "prefer-double"],
291
+ "implicit-arrow-linebreak": ["warn", "beside"],
292
+ "indent": "off",
293
+ "indent-binary-ops": "off",
292
294
  "key-spacing": ["warn", {
293
295
  beforeColon: false,
294
296
  afterColon: true,
@@ -298,18 +300,24 @@ var stylistic_default = prefixary("style", {
298
300
  before: true,
299
301
  after: true
300
302
  }],
303
+ "line-comment-position": "off",
301
304
  "linebreak-style": ["warn", "unix"],
305
+ "lines-around-comment": "off",
302
306
  "lines-between-class-members": ["warn", "always", {
303
307
  exceptAfterSingleLine: true
304
308
  }],
309
+ "max-len": "off",
310
+ "max-statements-per-line": "off",
305
311
  "member-delimiter-style": ["warn", {
306
312
  multiline: {
307
313
  delimiter: "semi",
308
314
  requireLast: true
309
315
  }
310
316
  }],
317
+ "multiline-comment-style": "off",
311
318
  "multiline-ternary": "off",
312
319
  "new-parens": "warn",
320
+ "newline-per-chained-call": "off",
313
321
  "no-confusing-arrow": "warn",
314
322
  "no-extra-parens": ["warn", "functions"],
315
323
  "no-extra-semi": "warn",
@@ -331,8 +339,10 @@ var stylistic_default = prefixary("style", {
331
339
  "object-property-newline": ["warn", {
332
340
  allowAllPropertiesOnSameLine: true
333
341
  }],
342
+ "one-var-declaration-per-line": "off",
334
343
  "operator-linebreak": "off",
335
344
  "padded-blocks": ["warn", "never"],
345
+ "padding-line-between-statements": "off",
336
346
  "quote-props": ["warn", "as-needed"],
337
347
  "quotes": ["warn", "double", {
338
348
  allowTemplateLiterals: true
@@ -366,6 +376,9 @@ var stylistic_default = prefixary("style", {
366
376
  overrides: {
367
377
  arrow: {
368
378
  before: true
379
+ },
380
+ operator: {
381
+ before: true
369
382
  }
370
383
  }
371
384
  }],
@@ -374,6 +387,7 @@ var stylistic_default = prefixary("style", {
374
387
  "wrap-iife": ["warn", "inside", {
375
388
  functionPrototypeMethods: true
376
389
  }],
390
+ "wrap-regex": "off",
377
391
  "yield-star-spacing": ["warn", "after"]
378
392
  });
379
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinkawaii/eslint-config",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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.24.1",
21
+ "@antfu/eslint-config": "^3.0.0",
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
  }