@saasmakers/eslint 0.1.35 → 0.1.37
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/eslint.config.cjs +3 -20
- package/dist/eslint.config.mjs +2 -19
- package/dist/index.cjs +143 -332
- package/dist/index.d.cts +0 -2
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.mjs +143 -332
- package/package.json +3 -3
package/dist/eslint.config.cjs
CHANGED
|
@@ -10,10 +10,10 @@ const eslintMergeProcessors = require('eslint-merge-processors');
|
|
|
10
10
|
const jsonc = require('eslint-plugin-jsonc');
|
|
11
11
|
const nodeEslint = require('eslint-plugin-n');
|
|
12
12
|
const noOnlyTests = require('eslint-plugin-no-only-tests');
|
|
13
|
-
const noSecrets = require('eslint-plugin-no-secrets');
|
|
14
13
|
const packageJson = require('eslint-plugin-package-json');
|
|
15
14
|
const perfectionist = require('eslint-plugin-perfectionist');
|
|
16
15
|
const eslintPluginPnpm = require('eslint-plugin-pnpm');
|
|
16
|
+
const sonarjs = require('eslint-plugin-sonarjs');
|
|
17
17
|
const storybook = require('eslint-plugin-storybook');
|
|
18
18
|
const turbo = require('eslint-plugin-turbo');
|
|
19
19
|
const unicorn = require('eslint-plugin-unicorn');
|
|
@@ -44,9 +44,9 @@ const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
|
|
|
44
44
|
const jsonc__default = /*#__PURE__*/_interopDefaultCompat(jsonc);
|
|
45
45
|
const nodeEslint__default = /*#__PURE__*/_interopDefaultCompat(nodeEslint);
|
|
46
46
|
const noOnlyTests__default = /*#__PURE__*/_interopDefaultCompat(noOnlyTests);
|
|
47
|
-
const noSecrets__default = /*#__PURE__*/_interopDefaultCompat(noSecrets);
|
|
48
47
|
const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
|
|
49
48
|
const perfectionist__default = /*#__PURE__*/_interopDefaultCompat(perfectionist);
|
|
49
|
+
const sonarjs__default = /*#__PURE__*/_interopDefaultCompat(sonarjs);
|
|
50
50
|
const storybook__default = /*#__PURE__*/_interopDefaultCompat(storybook);
|
|
51
51
|
const turbo__default = /*#__PURE__*/_interopDefaultCompat(turbo);
|
|
52
52
|
const unicorn__default = /*#__PURE__*/_interopDefaultCompat(unicorn);
|
|
@@ -22506,12 +22506,6 @@ const config = [
|
|
|
22506
22506
|
files: ["**/*.json", "**/*.jsonc", "**/*.json5"],
|
|
22507
22507
|
languageOptions: {
|
|
22508
22508
|
parser: jsoncParser__default
|
|
22509
|
-
},
|
|
22510
|
-
plugins: {
|
|
22511
|
-
"no-secrets": noSecrets__default
|
|
22512
|
-
},
|
|
22513
|
-
rules: {
|
|
22514
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22515
22509
|
}
|
|
22516
22510
|
},
|
|
22517
22511
|
// Stylistic
|
|
@@ -22531,6 +22525,7 @@ const config = [
|
|
|
22531
22525
|
...eslintPluginPnpm.configs.yaml,
|
|
22532
22526
|
...storybook__default.configs["flat/recommended"],
|
|
22533
22527
|
// sortClassMembers.configs['flat/recommended'],
|
|
22528
|
+
sonarjs__default.configs.recommended,
|
|
22534
22529
|
turbo__default.configs["flat/recommended"],
|
|
22535
22530
|
unocss__default,
|
|
22536
22531
|
// Node
|
|
@@ -22562,16 +22557,6 @@ const config = [
|
|
|
22562
22557
|
"no-only-tests/no-only-tests": "error"
|
|
22563
22558
|
}
|
|
22564
22559
|
},
|
|
22565
|
-
// No Secrets
|
|
22566
|
-
{
|
|
22567
|
-
files: ["**/*.{js,mjs,ts,mts,vue}"],
|
|
22568
|
-
plugins: {
|
|
22569
|
-
"no-secrets": noSecrets__default
|
|
22570
|
-
},
|
|
22571
|
-
rules: {
|
|
22572
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22573
|
-
}
|
|
22574
|
-
},
|
|
22575
22560
|
// No Unused Imports
|
|
22576
22561
|
{
|
|
22577
22562
|
plugins: {
|
|
@@ -22641,9 +22626,7 @@ const config = [
|
|
|
22641
22626
|
"saasmakers/vue-i18n-unused-strings": "error",
|
|
22642
22627
|
"saasmakers/vue-script-format-computed": "error",
|
|
22643
22628
|
"saasmakers/vue-script-format-emits": "error",
|
|
22644
|
-
"saasmakers/vue-script-format-props": "error",
|
|
22645
22629
|
"saasmakers/vue-script-order": "error",
|
|
22646
|
-
"saasmakers/vue-template-format-classes": "error",
|
|
22647
22630
|
"saasmakers/vue-template-format-props": "error",
|
|
22648
22631
|
"saasmakers/vue-template-remove-comments": "error",
|
|
22649
22632
|
"saasmakers/vue-template-remove-true-attributes": "error"
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -6,10 +6,10 @@ import { mergeProcessors } from 'eslint-merge-processors';
|
|
|
6
6
|
import jsonc from 'eslint-plugin-jsonc';
|
|
7
7
|
import nodeEslint from 'eslint-plugin-n';
|
|
8
8
|
import noOnlyTests from 'eslint-plugin-no-only-tests';
|
|
9
|
-
import noSecrets from 'eslint-plugin-no-secrets';
|
|
10
9
|
import packageJson from 'eslint-plugin-package-json';
|
|
11
10
|
import perfectionist from 'eslint-plugin-perfectionist';
|
|
12
11
|
import { configs } from 'eslint-plugin-pnpm';
|
|
12
|
+
import sonarjs from 'eslint-plugin-sonarjs';
|
|
13
13
|
import storybook from 'eslint-plugin-storybook';
|
|
14
14
|
import turbo from 'eslint-plugin-turbo';
|
|
15
15
|
import unicorn from 'eslint-plugin-unicorn';
|
|
@@ -22471,12 +22471,6 @@ const config = [
|
|
|
22471
22471
|
files: ["**/*.json", "**/*.jsonc", "**/*.json5"],
|
|
22472
22472
|
languageOptions: {
|
|
22473
22473
|
parser: jsoncParser
|
|
22474
|
-
},
|
|
22475
|
-
plugins: {
|
|
22476
|
-
"no-secrets": noSecrets
|
|
22477
|
-
},
|
|
22478
|
-
rules: {
|
|
22479
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22480
22474
|
}
|
|
22481
22475
|
},
|
|
22482
22476
|
// Stylistic
|
|
@@ -22496,6 +22490,7 @@ const config = [
|
|
|
22496
22490
|
...configs.yaml,
|
|
22497
22491
|
...storybook.configs["flat/recommended"],
|
|
22498
22492
|
// sortClassMembers.configs['flat/recommended'],
|
|
22493
|
+
sonarjs.configs.recommended,
|
|
22499
22494
|
turbo.configs["flat/recommended"],
|
|
22500
22495
|
unocss,
|
|
22501
22496
|
// Node
|
|
@@ -22527,16 +22522,6 @@ const config = [
|
|
|
22527
22522
|
"no-only-tests/no-only-tests": "error"
|
|
22528
22523
|
}
|
|
22529
22524
|
},
|
|
22530
|
-
// No Secrets
|
|
22531
|
-
{
|
|
22532
|
-
files: ["**/*.{js,mjs,ts,mts,vue}"],
|
|
22533
|
-
plugins: {
|
|
22534
|
-
"no-secrets": noSecrets
|
|
22535
|
-
},
|
|
22536
|
-
rules: {
|
|
22537
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22538
|
-
}
|
|
22539
|
-
},
|
|
22540
22525
|
// No Unused Imports
|
|
22541
22526
|
{
|
|
22542
22527
|
plugins: {
|
|
@@ -22606,9 +22591,7 @@ const config = [
|
|
|
22606
22591
|
"saasmakers/vue-i18n-unused-strings": "error",
|
|
22607
22592
|
"saasmakers/vue-script-format-computed": "error",
|
|
22608
22593
|
"saasmakers/vue-script-format-emits": "error",
|
|
22609
|
-
"saasmakers/vue-script-format-props": "error",
|
|
22610
22594
|
"saasmakers/vue-script-order": "error",
|
|
22611
|
-
"saasmakers/vue-template-format-classes": "error",
|
|
22612
22595
|
"saasmakers/vue-template-format-props": "error",
|
|
22613
22596
|
"saasmakers/vue-template-remove-comments": "error",
|
|
22614
22597
|
"saasmakers/vue-template-remove-true-attributes": "error"
|