@saasmakers/eslint 0.1.36 → 0.1.38
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 +14 -26
- package/dist/eslint.config.mjs +14 -25
- package/package.json +1 -2
package/dist/eslint.config.cjs
CHANGED
|
@@ -10,7 +10,6 @@ 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');
|
|
@@ -45,7 +44,6 @@ const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
|
|
|
45
44
|
const jsonc__default = /*#__PURE__*/_interopDefaultCompat(jsonc);
|
|
46
45
|
const nodeEslint__default = /*#__PURE__*/_interopDefaultCompat(nodeEslint);
|
|
47
46
|
const noOnlyTests__default = /*#__PURE__*/_interopDefaultCompat(noOnlyTests);
|
|
48
|
-
const noSecrets__default = /*#__PURE__*/_interopDefaultCompat(noSecrets);
|
|
49
47
|
const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
|
|
50
48
|
const perfectionist__default = /*#__PURE__*/_interopDefaultCompat(perfectionist);
|
|
51
49
|
const sonarjs__default = /*#__PURE__*/_interopDefaultCompat(sonarjs);
|
|
@@ -22502,18 +22500,19 @@ const config = [
|
|
|
22502
22500
|
"no-undef": "off"
|
|
22503
22501
|
}
|
|
22504
22502
|
},
|
|
22503
|
+
// Plugins
|
|
22504
|
+
...eslintPluginPnpm.configs.json,
|
|
22505
|
+
...eslintPluginPnpm.configs.yaml,
|
|
22506
|
+
...storybook__default.configs["flat/recommended"],
|
|
22507
|
+
// sortClassMembers.configs['flat/recommended'],
|
|
22508
|
+
turbo__default.configs["flat/recommended"],
|
|
22509
|
+
unocss__default,
|
|
22505
22510
|
// JSON
|
|
22506
22511
|
...jsonc__default.configs["flat/recommended-with-jsonc"],
|
|
22507
22512
|
{
|
|
22508
22513
|
files: ["**/*.json", "**/*.jsonc", "**/*.json5"],
|
|
22509
22514
|
languageOptions: {
|
|
22510
22515
|
parser: jsoncParser__default
|
|
22511
|
-
},
|
|
22512
|
-
plugins: {
|
|
22513
|
-
"no-secrets": noSecrets__default
|
|
22514
|
-
},
|
|
22515
|
-
rules: {
|
|
22516
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22517
22516
|
}
|
|
22518
22517
|
},
|
|
22519
22518
|
// Stylistic
|
|
@@ -22528,14 +22527,6 @@ const config = [
|
|
|
22528
22527
|
semi: false,
|
|
22529
22528
|
severity: "error"
|
|
22530
22529
|
}),
|
|
22531
|
-
// Plugins
|
|
22532
|
-
...eslintPluginPnpm.configs.json,
|
|
22533
|
-
...eslintPluginPnpm.configs.yaml,
|
|
22534
|
-
...storybook__default.configs["flat/recommended"],
|
|
22535
|
-
// sortClassMembers.configs['flat/recommended'],
|
|
22536
|
-
sonarjs__default.configs.recommended,
|
|
22537
|
-
turbo__default.configs["flat/recommended"],
|
|
22538
|
-
unocss__default,
|
|
22539
22530
|
// Node
|
|
22540
22531
|
nodeEslint__default.configs["flat/recommended"],
|
|
22541
22532
|
{
|
|
@@ -22565,16 +22556,6 @@ const config = [
|
|
|
22565
22556
|
"no-only-tests/no-only-tests": "error"
|
|
22566
22557
|
}
|
|
22567
22558
|
},
|
|
22568
|
-
// No Secrets
|
|
22569
|
-
{
|
|
22570
|
-
files: ["**/*.{js,mjs,ts,mts,vue}"],
|
|
22571
|
-
plugins: {
|
|
22572
|
-
"no-secrets": noSecrets__default
|
|
22573
|
-
},
|
|
22574
|
-
rules: {
|
|
22575
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22576
|
-
}
|
|
22577
|
-
},
|
|
22578
22559
|
// No Unused Imports
|
|
22579
22560
|
{
|
|
22580
22561
|
plugins: {
|
|
@@ -22650,6 +22631,13 @@ const config = [
|
|
|
22650
22631
|
"saasmakers/vue-template-remove-true-attributes": "error"
|
|
22651
22632
|
}
|
|
22652
22633
|
},
|
|
22634
|
+
// SonarJS
|
|
22635
|
+
sonarjs__default.configs.recommended,
|
|
22636
|
+
{
|
|
22637
|
+
rules: {
|
|
22638
|
+
"sonarjs/no-hardcoded-passwords": "off"
|
|
22639
|
+
}
|
|
22640
|
+
},
|
|
22653
22641
|
// Unicorn
|
|
22654
22642
|
unicorn__default.configs["recommended"],
|
|
22655
22643
|
{
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -6,7 +6,6 @@ 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';
|
|
@@ -22466,18 +22465,19 @@ const config = [
|
|
|
22466
22465
|
"no-undef": "off"
|
|
22467
22466
|
}
|
|
22468
22467
|
},
|
|
22468
|
+
// Plugins
|
|
22469
|
+
...configs.json,
|
|
22470
|
+
...configs.yaml,
|
|
22471
|
+
...storybook.configs["flat/recommended"],
|
|
22472
|
+
// sortClassMembers.configs['flat/recommended'],
|
|
22473
|
+
turbo.configs["flat/recommended"],
|
|
22474
|
+
unocss,
|
|
22469
22475
|
// JSON
|
|
22470
22476
|
...jsonc.configs["flat/recommended-with-jsonc"],
|
|
22471
22477
|
{
|
|
22472
22478
|
files: ["**/*.json", "**/*.jsonc", "**/*.json5"],
|
|
22473
22479
|
languageOptions: {
|
|
22474
22480
|
parser: jsoncParser
|
|
22475
|
-
},
|
|
22476
|
-
plugins: {
|
|
22477
|
-
"no-secrets": noSecrets
|
|
22478
|
-
},
|
|
22479
|
-
rules: {
|
|
22480
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22481
22481
|
}
|
|
22482
22482
|
},
|
|
22483
22483
|
// Stylistic
|
|
@@ -22492,14 +22492,6 @@ const config = [
|
|
|
22492
22492
|
semi: false,
|
|
22493
22493
|
severity: "error"
|
|
22494
22494
|
}),
|
|
22495
|
-
// Plugins
|
|
22496
|
-
...configs.json,
|
|
22497
|
-
...configs.yaml,
|
|
22498
|
-
...storybook.configs["flat/recommended"],
|
|
22499
|
-
// sortClassMembers.configs['flat/recommended'],
|
|
22500
|
-
sonarjs.configs.recommended,
|
|
22501
|
-
turbo.configs["flat/recommended"],
|
|
22502
|
-
unocss,
|
|
22503
22495
|
// Node
|
|
22504
22496
|
nodeEslint.configs["flat/recommended"],
|
|
22505
22497
|
{
|
|
@@ -22529,16 +22521,6 @@ const config = [
|
|
|
22529
22521
|
"no-only-tests/no-only-tests": "error"
|
|
22530
22522
|
}
|
|
22531
22523
|
},
|
|
22532
|
-
// No Secrets
|
|
22533
|
-
{
|
|
22534
|
-
files: ["**/*.{js,mjs,ts,mts,vue}"],
|
|
22535
|
-
plugins: {
|
|
22536
|
-
"no-secrets": noSecrets
|
|
22537
|
-
},
|
|
22538
|
-
rules: {
|
|
22539
|
-
"no-secrets/no-secrets": ["error", { additionalDelimiters: ["(?=[A-Z][a-z])"], tolerance: 4.1 }]
|
|
22540
|
-
}
|
|
22541
|
-
},
|
|
22542
22524
|
// No Unused Imports
|
|
22543
22525
|
{
|
|
22544
22526
|
plugins: {
|
|
@@ -22614,6 +22596,13 @@ const config = [
|
|
|
22614
22596
|
"saasmakers/vue-template-remove-true-attributes": "error"
|
|
22615
22597
|
}
|
|
22616
22598
|
},
|
|
22599
|
+
// SonarJS
|
|
22600
|
+
sonarjs.configs.recommended,
|
|
22601
|
+
{
|
|
22602
|
+
rules: {
|
|
22603
|
+
"sonarjs/no-hardcoded-passwords": "off"
|
|
22604
|
+
}
|
|
22605
|
+
},
|
|
22617
22606
|
// Unicorn
|
|
22618
22607
|
unicorn.configs["recommended"],
|
|
22619
22608
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/eslint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared ESLint config and rules for SaaS Makers projects",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"eslint-plugin-jsonc": "2.21.0",
|
|
41
41
|
"eslint-plugin-n": "17.23.1",
|
|
42
42
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
43
|
-
"eslint-plugin-no-secrets": "2.2.1",
|
|
44
43
|
"eslint-plugin-package-json": "0.87.0",
|
|
45
44
|
"eslint-plugin-perfectionist": "5.1.0",
|
|
46
45
|
"eslint-plugin-pnpm": "1.4.3",
|