@saasmakers/eslint 0.1.26 → 0.1.27
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 +25 -1
- package/dist/eslint.config.mjs +23 -1
- package/package.json +2 -1
package/dist/eslint.config.cjs
CHANGED
|
@@ -10,8 +10,10 @@ const nodeEslint = require('eslint-plugin-n');
|
|
|
10
10
|
const packageJson = require('eslint-plugin-package-json');
|
|
11
11
|
const perfectionist = require('eslint-plugin-perfectionist');
|
|
12
12
|
const eslintPluginPnpm = require('eslint-plugin-pnpm');
|
|
13
|
+
const storybook = require('eslint-plugin-storybook');
|
|
13
14
|
const turbo = require('eslint-plugin-turbo');
|
|
14
15
|
const unicorn = require('eslint-plugin-unicorn');
|
|
16
|
+
const unusedImports = require('eslint-plugin-unused-imports');
|
|
15
17
|
const pluginVue = require('eslint-plugin-vue');
|
|
16
18
|
const vueAccessibility = require('eslint-plugin-vuejs-accessibility');
|
|
17
19
|
const processorVueBlocks = require('eslint-processor-vue-blocks');
|
|
@@ -36,8 +38,10 @@ const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
|
|
|
36
38
|
const nodeEslint__default = /*#__PURE__*/_interopDefaultCompat(nodeEslint);
|
|
37
39
|
const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
|
|
38
40
|
const perfectionist__default = /*#__PURE__*/_interopDefaultCompat(perfectionist);
|
|
41
|
+
const storybook__default = /*#__PURE__*/_interopDefaultCompat(storybook);
|
|
39
42
|
const turbo__default = /*#__PURE__*/_interopDefaultCompat(turbo);
|
|
40
43
|
const unicorn__default = /*#__PURE__*/_interopDefaultCompat(unicorn);
|
|
44
|
+
const unusedImports__default = /*#__PURE__*/_interopDefaultCompat(unusedImports);
|
|
41
45
|
const pluginVue__default = /*#__PURE__*/_interopDefaultCompat(pluginVue);
|
|
42
46
|
const vueAccessibility__default = /*#__PURE__*/_interopDefaultCompat(vueAccessibility);
|
|
43
47
|
const processorVueBlocks__default = /*#__PURE__*/_interopDefaultCompat(processorVueBlocks);
|
|
@@ -22500,8 +22504,9 @@ const config = [
|
|
|
22500
22504
|
// Plugins
|
|
22501
22505
|
...eslintPluginPnpm.configs.json,
|
|
22502
22506
|
...eslintPluginPnpm.configs.yaml,
|
|
22503
|
-
|
|
22507
|
+
...storybook__default.configs["flat/recommended"],
|
|
22504
22508
|
turbo__default.configs["flat/recommended"],
|
|
22509
|
+
unocss__default,
|
|
22505
22510
|
// Node
|
|
22506
22511
|
nodeEslint__default.configs["flat/recommended"],
|
|
22507
22512
|
{
|
|
@@ -22567,6 +22572,25 @@ const config = [
|
|
|
22567
22572
|
"unicorn/prevent-abbreviations": "off"
|
|
22568
22573
|
}
|
|
22569
22574
|
},
|
|
22575
|
+
// Unused Imports
|
|
22576
|
+
{
|
|
22577
|
+
plugins: {
|
|
22578
|
+
"unused-imports": unusedImports__default
|
|
22579
|
+
},
|
|
22580
|
+
rules: {
|
|
22581
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
22582
|
+
"unused-imports/no-unused-imports": "error",
|
|
22583
|
+
"unused-imports/no-unused-vars": [
|
|
22584
|
+
"error",
|
|
22585
|
+
{
|
|
22586
|
+
args: "after-used",
|
|
22587
|
+
argsIgnorePattern: "^_",
|
|
22588
|
+
vars: "all",
|
|
22589
|
+
varsIgnorePattern: "^_"
|
|
22590
|
+
}
|
|
22591
|
+
]
|
|
22592
|
+
}
|
|
22593
|
+
},
|
|
22570
22594
|
// Vue & Vue Accessibility
|
|
22571
22595
|
...pluginVue__default.configs["flat/recommended"],
|
|
22572
22596
|
...vueAccessibility__default.configs["flat/recommended"],
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -6,8 +6,10 @@ import nodeEslint from 'eslint-plugin-n';
|
|
|
6
6
|
import packageJson from 'eslint-plugin-package-json';
|
|
7
7
|
import perfectionist from 'eslint-plugin-perfectionist';
|
|
8
8
|
import { configs } from 'eslint-plugin-pnpm';
|
|
9
|
+
import storybook from 'eslint-plugin-storybook';
|
|
9
10
|
import turbo from 'eslint-plugin-turbo';
|
|
10
11
|
import unicorn from 'eslint-plugin-unicorn';
|
|
12
|
+
import unusedImports from 'eslint-plugin-unused-imports';
|
|
11
13
|
import pluginVue from 'eslint-plugin-vue';
|
|
12
14
|
import vueAccessibility from 'eslint-plugin-vuejs-accessibility';
|
|
13
15
|
import processorVueBlocks from 'eslint-processor-vue-blocks';
|
|
@@ -22472,8 +22474,9 @@ const config = [
|
|
|
22472
22474
|
// Plugins
|
|
22473
22475
|
...configs.json,
|
|
22474
22476
|
...configs.yaml,
|
|
22475
|
-
|
|
22477
|
+
...storybook.configs["flat/recommended"],
|
|
22476
22478
|
turbo.configs["flat/recommended"],
|
|
22479
|
+
unocss,
|
|
22477
22480
|
// Node
|
|
22478
22481
|
nodeEslint.configs["flat/recommended"],
|
|
22479
22482
|
{
|
|
@@ -22539,6 +22542,25 @@ const config = [
|
|
|
22539
22542
|
"unicorn/prevent-abbreviations": "off"
|
|
22540
22543
|
}
|
|
22541
22544
|
},
|
|
22545
|
+
// Unused Imports
|
|
22546
|
+
{
|
|
22547
|
+
plugins: {
|
|
22548
|
+
"unused-imports": unusedImports
|
|
22549
|
+
},
|
|
22550
|
+
rules: {
|
|
22551
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
22552
|
+
"unused-imports/no-unused-imports": "error",
|
|
22553
|
+
"unused-imports/no-unused-vars": [
|
|
22554
|
+
"error",
|
|
22555
|
+
{
|
|
22556
|
+
args: "after-used",
|
|
22557
|
+
argsIgnorePattern: "^_",
|
|
22558
|
+
vars: "all",
|
|
22559
|
+
varsIgnorePattern: "^_"
|
|
22560
|
+
}
|
|
22561
|
+
]
|
|
22562
|
+
}
|
|
22563
|
+
},
|
|
22542
22564
|
// Vue & Vue Accessibility
|
|
22543
22565
|
...pluginVue.configs["flat/recommended"],
|
|
22544
22566
|
...vueAccessibility.configs["flat/recommended"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/eslint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared ESLint config and rules for SaaS Makers projects",
|
|
6
6
|
"repository": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"eslint-plugin-storybook": "9.1.16",
|
|
45
45
|
"eslint-plugin-turbo": "2.7.2",
|
|
46
46
|
"eslint-plugin-unicorn": "62.0.0",
|
|
47
|
+
"eslint-plugin-unused-imports": "4.3.0",
|
|
47
48
|
"eslint-plugin-vue": "10.6.2",
|
|
48
49
|
"eslint-plugin-vuejs-accessibility": "2.4.1",
|
|
49
50
|
"eslint-processor-vue-blocks": "2.0.0",
|