@frabbit/eslint-config 1.5.5 → 1.5.7
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.cjs +3 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var _pluginUnocss = __toESM(require("@unocss/eslint-plugin"), 1);
|
|
|
114
114
|
var _pluginPrettier = __toESM(require("eslint-plugin-prettier"), 1);
|
|
115
115
|
var _configPrettier = __toESM(require("eslint-config-prettier"), 1);
|
|
116
116
|
var pluginSonar = __toESM(require("eslint-plugin-sonarjs"), 1);
|
|
117
|
-
var
|
|
117
|
+
var _pluginSecurity = __toESM(require("eslint-plugin-security"), 1);
|
|
118
118
|
var pluginImport = __toESM(require("eslint-plugin-i"), 1);
|
|
119
119
|
var pluginJsonc = __toESM(require("eslint-plugin-jsonc"), 1);
|
|
120
120
|
var pluginUnusedImports = __toESM(require("eslint-plugin-unused-imports"), 1);
|
|
@@ -136,6 +136,7 @@ var pluginVue = /* @__PURE__ */ interopDefault(_pluginVue);
|
|
|
136
136
|
var pluginUnocss = /* @__PURE__ */ interopDefault(_pluginUnocss);
|
|
137
137
|
var pluginPrettier = /* @__PURE__ */ interopDefault(_pluginPrettier);
|
|
138
138
|
var configPrettier = /* @__PURE__ */ interopDefault(_configPrettier);
|
|
139
|
+
var pluginSecurity = /* @__PURE__ */ interopDefault(_pluginSecurity);
|
|
139
140
|
|
|
140
141
|
// src/configs/comments.ts
|
|
141
142
|
var comments = [
|
|
@@ -1255,7 +1256,7 @@ var vue = [
|
|
|
1255
1256
|
},
|
|
1256
1257
|
...reactivityTransform,
|
|
1257
1258
|
{
|
|
1258
|
-
files: [GLOB_NUXT_PAGE, GLOB_NUXT_LAYOUTS],
|
|
1259
|
+
files: [GLOB_NUXT_PAGE, GLOB_NUXT_LAYOUTS, "app.vue"],
|
|
1259
1260
|
rules: {
|
|
1260
1261
|
"vue/multi-word-component-names": "off"
|
|
1261
1262
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FlatESLintConfigItem } from 'eslint-define-config';
|
|
2
2
|
import * as eslintPluginSonarjs from 'eslint-plugin-sonarjs';
|
|
3
3
|
export { eslintPluginSonarjs as pluginSonar };
|
|
4
|
-
import * as eslintPluginSecurity from 'eslint-plugin-security';
|
|
5
|
-
export { eslintPluginSecurity as pluginSecurity };
|
|
6
4
|
import * as eslintPluginI from 'eslint-plugin-i';
|
|
7
5
|
export { eslintPluginI as pluginImport };
|
|
8
6
|
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
@@ -92,6 +90,8 @@ declare const pluginUnocss: any;
|
|
|
92
90
|
declare const pluginPrettier: any;
|
|
93
91
|
declare const configPrettier: any;
|
|
94
92
|
|
|
93
|
+
declare const pluginSecurity: any;
|
|
94
|
+
|
|
95
95
|
declare const presetJavaScript: FlatESLintConfigItem[];
|
|
96
96
|
declare const presetLangsExtensions: FlatESLintConfigItem[];
|
|
97
97
|
declare const basic: FlatESLintConfigItem[];
|
|
@@ -104,4 +104,4 @@ declare function frabbit(config?: FlatESLintConfigItem | FlatESLintConfigItem[],
|
|
|
104
104
|
unocss: boolean;
|
|
105
105
|
}>): FlatESLintConfigItem[];
|
|
106
106
|
|
|
107
|
-
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_NUXT_LAYOUTS, GLOB_NUXT_PAGE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, basic, comments, configPrettier, frabbit, getVueVersion, hasTypeScript, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, pluginAntfu, pluginComments, pluginMarkdown, pluginPrettier, pluginTypeScript, pluginUnicorn, pluginUnocss, pluginVue, basic as presetBasic, presetJavaScript, presetLangsExtensions, prettier, reactivityTransform, security, sonarjs, sortPackageJson, sortTsconfig, typescript, unicorn, unocss, vue, yml };
|
|
107
|
+
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_NUXT_LAYOUTS, GLOB_NUXT_PAGE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, basic, comments, configPrettier, frabbit, getVueVersion, hasTypeScript, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, pluginAntfu, pluginComments, pluginMarkdown, pluginPrettier, pluginSecurity, pluginTypeScript, pluginUnicorn, pluginUnocss, pluginVue, basic as presetBasic, presetJavaScript, presetLangsExtensions, prettier, reactivityTransform, security, sonarjs, sortPackageJson, sortTsconfig, typescript, unicorn, unocss, vue, yml };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FlatESLintConfigItem } from 'eslint-define-config';
|
|
2
2
|
import * as eslintPluginSonarjs from 'eslint-plugin-sonarjs';
|
|
3
3
|
export { eslintPluginSonarjs as pluginSonar };
|
|
4
|
-
import * as eslintPluginSecurity from 'eslint-plugin-security';
|
|
5
|
-
export { eslintPluginSecurity as pluginSecurity };
|
|
6
4
|
import * as eslintPluginI from 'eslint-plugin-i';
|
|
7
5
|
export { eslintPluginI as pluginImport };
|
|
8
6
|
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
@@ -92,6 +90,8 @@ declare const pluginUnocss: any;
|
|
|
92
90
|
declare const pluginPrettier: any;
|
|
93
91
|
declare const configPrettier: any;
|
|
94
92
|
|
|
93
|
+
declare const pluginSecurity: any;
|
|
94
|
+
|
|
95
95
|
declare const presetJavaScript: FlatESLintConfigItem[];
|
|
96
96
|
declare const presetLangsExtensions: FlatESLintConfigItem[];
|
|
97
97
|
declare const basic: FlatESLintConfigItem[];
|
|
@@ -104,4 +104,4 @@ declare function frabbit(config?: FlatESLintConfigItem | FlatESLintConfigItem[],
|
|
|
104
104
|
unocss: boolean;
|
|
105
105
|
}>): FlatESLintConfigItem[];
|
|
106
106
|
|
|
107
|
-
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_NUXT_LAYOUTS, GLOB_NUXT_PAGE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, basic, comments, configPrettier, frabbit, getVueVersion, hasTypeScript, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, pluginAntfu, pluginComments, pluginMarkdown, pluginPrettier, pluginTypeScript, pluginUnicorn, pluginUnocss, pluginVue, basic as presetBasic, presetJavaScript, presetLangsExtensions, prettier, reactivityTransform, security, sonarjs, sortPackageJson, sortTsconfig, typescript, unicorn, unocss, vue, yml };
|
|
107
|
+
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_NUXT_LAYOUTS, GLOB_NUXT_PAGE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, basic, comments, configPrettier, frabbit, getVueVersion, hasTypeScript, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, pluginAntfu, pluginComments, pluginMarkdown, pluginPrettier, pluginSecurity, pluginTypeScript, pluginUnicorn, pluginUnocss, pluginVue, basic as presetBasic, presetJavaScript, presetLangsExtensions, prettier, reactivityTransform, security, sonarjs, sortPackageJson, sortTsconfig, typescript, unicorn, unocss, vue, yml };
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import * as _pluginUnocss from "@unocss/eslint-plugin";
|
|
|
9
9
|
import * as _pluginPrettier from "eslint-plugin-prettier";
|
|
10
10
|
import * as _configPrettier from "eslint-config-prettier";
|
|
11
11
|
import * as pluginSonar from "eslint-plugin-sonarjs";
|
|
12
|
-
import * as
|
|
12
|
+
import * as _pluginSecurity from "eslint-plugin-security";
|
|
13
13
|
import * as pluginImport from "eslint-plugin-i";
|
|
14
14
|
import * as pluginJsonc from "eslint-plugin-jsonc";
|
|
15
15
|
import * as pluginUnusedImports from "eslint-plugin-unused-imports";
|
|
@@ -31,6 +31,7 @@ var pluginVue = /* @__PURE__ */ interopDefault(_pluginVue);
|
|
|
31
31
|
var pluginUnocss = /* @__PURE__ */ interopDefault(_pluginUnocss);
|
|
32
32
|
var pluginPrettier = /* @__PURE__ */ interopDefault(_pluginPrettier);
|
|
33
33
|
var configPrettier = /* @__PURE__ */ interopDefault(_configPrettier);
|
|
34
|
+
var pluginSecurity = /* @__PURE__ */ interopDefault(_pluginSecurity);
|
|
34
35
|
|
|
35
36
|
// src/configs/comments.ts
|
|
36
37
|
var comments = [
|
|
@@ -1150,7 +1151,7 @@ var vue = [
|
|
|
1150
1151
|
},
|
|
1151
1152
|
...reactivityTransform,
|
|
1152
1153
|
{
|
|
1153
|
-
files: [GLOB_NUXT_PAGE, GLOB_NUXT_LAYOUTS],
|
|
1154
|
+
files: [GLOB_NUXT_PAGE, GLOB_NUXT_LAYOUTS, "app.vue"],
|
|
1154
1155
|
rules: {
|
|
1155
1156
|
"vue/multi-word-component-names": "off"
|
|
1156
1157
|
}
|