@egy186/eslint-config 3.6.0 → 3.6.1
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/base.d.ts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/commonjs.d.ts +3 -3
- package/dist/jest.d.ts +3 -0
- package/dist/jest.js +6 -0
- package/package.json +4 -4
package/dist/base.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ declare const config: {
|
|
|
155
155
|
rules: import("@stylistic/eslint-plugin").Rules;
|
|
156
156
|
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
|
157
157
|
};
|
|
158
|
-
readonly import: import("eslint").
|
|
158
|
+
readonly import: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
159
159
|
meta: {
|
|
160
160
|
name: string;
|
|
161
161
|
version: string;
|
|
@@ -184,10 +184,10 @@ declare const config: {
|
|
|
184
184
|
[key: string]: import("eslint").Rule.RuleModule;
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
readonly jsdoc: import("eslint").
|
|
187
|
+
readonly jsdoc: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
188
188
|
configs: Record<`flat/${import("eslint-plugin-jsdoc").ConfigGroups}${import("eslint-plugin-jsdoc").ConfigVariants}${import("eslint-plugin-jsdoc").ErrorLevelVariants}`, import("eslint").Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", import("eslint").Linter.Config[]> & Record<"flat/recommended-mixed", import("eslint").Linter.Config[]>;
|
|
189
189
|
};
|
|
190
|
-
readonly n: import("eslint").
|
|
190
|
+
readonly n: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
191
191
|
configs: nPlugin.Configs;
|
|
192
192
|
};
|
|
193
193
|
};
|
package/dist/browser.d.ts
CHANGED
|
@@ -1775,7 +1775,7 @@ declare const config: {
|
|
|
1775
1775
|
rules: import("@stylistic/eslint-plugin").Rules;
|
|
1776
1776
|
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
|
1777
1777
|
};
|
|
1778
|
-
readonly import: import("eslint").
|
|
1778
|
+
readonly import: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
1779
1779
|
meta: {
|
|
1780
1780
|
name: string;
|
|
1781
1781
|
version: string;
|
|
@@ -1804,10 +1804,10 @@ declare const config: {
|
|
|
1804
1804
|
[key: string]: import("eslint").Rule.RuleModule;
|
|
1805
1805
|
};
|
|
1806
1806
|
};
|
|
1807
|
-
readonly jsdoc: import("eslint").
|
|
1807
|
+
readonly jsdoc: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
1808
1808
|
configs: Record<`flat/${import("eslint-plugin-jsdoc").ConfigGroups}${import("eslint-plugin-jsdoc").ConfigVariants}${import("eslint-plugin-jsdoc").ErrorLevelVariants}`, import("eslint").Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", import("eslint").Linter.Config[]> & Record<"flat/recommended-mixed", import("eslint").Linter.Config[]>;
|
|
1809
1809
|
};
|
|
1810
|
-
readonly n: import("eslint").
|
|
1810
|
+
readonly n: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
1811
1811
|
configs: import("eslint-plugin-n").Configs;
|
|
1812
1812
|
};
|
|
1813
1813
|
};
|
package/dist/commonjs.d.ts
CHANGED
|
@@ -689,7 +689,7 @@ declare const config: {
|
|
|
689
689
|
rules: import("@stylistic/eslint-plugin").Rules;
|
|
690
690
|
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
|
691
691
|
};
|
|
692
|
-
readonly import: import("eslint").
|
|
692
|
+
readonly import: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
693
693
|
meta: {
|
|
694
694
|
name: string;
|
|
695
695
|
version: string;
|
|
@@ -718,10 +718,10 @@ declare const config: {
|
|
|
718
718
|
[key: string]: import("eslint").Rule.RuleModule;
|
|
719
719
|
};
|
|
720
720
|
};
|
|
721
|
-
readonly jsdoc: import("eslint").
|
|
721
|
+
readonly jsdoc: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
722
722
|
configs: Record<`flat/${import("eslint-plugin-jsdoc").ConfigGroups}${import("eslint-plugin-jsdoc").ConfigVariants}${import("eslint-plugin-jsdoc").ErrorLevelVariants}`, import("eslint").Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", import("eslint").Linter.Config[]> & Record<"flat/recommended-mixed", import("eslint").Linter.Config[]>;
|
|
723
723
|
};
|
|
724
|
-
readonly n: import("eslint").
|
|
724
|
+
readonly n: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
|
|
725
725
|
configs: import("eslint-plugin-n").Configs;
|
|
726
726
|
};
|
|
727
727
|
};
|
package/dist/jest.d.ts
CHANGED
package/dist/jest.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import globals from 'globals';
|
|
2
2
|
import jest from 'eslint-plugin-jest';
|
|
3
|
+
process.emitWarning('`@egy186/eslint-config/jest` is deprecated. Use `@egy186/eslint-config/vitest` instead.', { type: 'DeprecationWarning' });
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use `@egy186/eslint-config/vitest` instead.
|
|
6
|
+
*/
|
|
3
7
|
const config = {
|
|
4
8
|
files: ['**/*.{spec,test}.{js,jsx,mjs,cjs}', '**/*.{spec,test}.{ts,tsx,mts,cts}'],
|
|
5
9
|
languageOptions: {
|
|
@@ -76,5 +80,7 @@ const config = {
|
|
|
76
80
|
'max-statements': 'off'
|
|
77
81
|
}
|
|
78
82
|
};
|
|
83
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
79
84
|
export { config as jest };
|
|
85
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
80
86
|
export default config;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.1",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"globals": "^16.4.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "~9.
|
|
17
|
+
"@eslint/js": "~9.38.0",
|
|
18
18
|
"@types/node": "^24.8.1",
|
|
19
|
-
"@vitest/eslint-plugin": "~1.3.
|
|
20
|
-
"eslint": "~9.
|
|
19
|
+
"@vitest/eslint-plugin": "~1.3.23",
|
|
20
|
+
"eslint": "~9.38.0",
|
|
21
21
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
22
22
|
"eslint-plugin-jest": "~29.0.1",
|
|
23
23
|
"eslint-plugin-react": "~7.37.5",
|