@futurebrand/dev-tools 2.1.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/bin/index.d.ts +2 -0
- package/dist/bin/index.js +18 -0
- package/dist/plugins/eslint/configs/configs.d.mts +7 -0
- package/dist/plugins/eslint/configs/configs.mjs +29 -0
- package/dist/plugins/eslint/configs/rules.d.mts +10 -0
- package/dist/plugins/eslint/configs/rules.mjs +108 -0
- package/dist/plugins/eslint/index.d.mts +2 -0
- package/dist/plugins/eslint/index.mjs +2 -0
- package/dist/plugins/eslint/next.d.mts +2 -0
- package/dist/plugins/eslint/next.mjs +20 -0
- package/dist/plugins/eslint/node.d.mts +2 -0
- package/dist/plugins/eslint/node.mjs +29 -0
- package/dist/plugins/index.d.mts +2 -0
- package/dist/plugins/index.mjs +2 -0
- package/dist/plugins/prettier/index.d.mts +1 -0
- package/dist/plugins/prettier/index.mjs +1 -0
- package/dist/plugins/prettier/prettier.d.mts +81 -0
- package/dist/plugins/prettier/prettier.mjs +28 -0
- package/dist/types/next.d.ts +15 -0
- package/dist/types/next.js +0 -0
- package/package.json +88 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const package_json_1 = require("../../package.json");
|
|
6
|
+
commander_1.program
|
|
7
|
+
.version(package_json_1.version)
|
|
8
|
+
.description(package_json_1.description)
|
|
9
|
+
.option('-n, --name <type>', 'Add your name')
|
|
10
|
+
.action((options) => {
|
|
11
|
+
if (options.name) {
|
|
12
|
+
console.warn(`Hello ${options.name}!`);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
console.warn('Hello Futurebrand!');
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
commander_1.program.parse(process.argv);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ConfigArray } from 'typescript-eslint';
|
|
2
|
+
export declare const MAX_COMPLEXITY = 15;
|
|
3
|
+
export declare const MAX_LINES = 450;
|
|
4
|
+
/** @type {import('typescript-eslint').ConfigArray} */
|
|
5
|
+
export declare const TypescriptConfigs: ConfigArray;
|
|
6
|
+
/** @type {import('typescript-eslint').ConfigArray} */
|
|
7
|
+
export declare const JavascriptConfigs: ConfigArray;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import pluginJs from '@eslint/js';
|
|
2
|
+
import prettier from 'eslint-plugin-prettier/recommended';
|
|
3
|
+
import globals from 'globals';
|
|
4
|
+
import tseslint from 'typescript-eslint';
|
|
5
|
+
export const MAX_COMPLEXITY = 15;
|
|
6
|
+
export const MAX_LINES = 450;
|
|
7
|
+
/** @type {import('typescript-eslint').ConfigArray} */
|
|
8
|
+
export const TypescriptConfigs = [
|
|
9
|
+
{ files: ['**/*.{js,jsx,mjs,cjs,ts,tsx,mts}'] },
|
|
10
|
+
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
|
|
11
|
+
pluginJs.configs.recommended,
|
|
12
|
+
...tseslint.configs.recommendedTypeChecked,
|
|
13
|
+
{
|
|
14
|
+
languageOptions: {
|
|
15
|
+
parserOptions: {
|
|
16
|
+
projectService: true,
|
|
17
|
+
tsconfigRootDir: process.cwd(),
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
prettier,
|
|
22
|
+
];
|
|
23
|
+
/** @type {import('typescript-eslint').ConfigArray} */
|
|
24
|
+
export const JavascriptConfigs = [
|
|
25
|
+
{ files: ['**/*.{js,jsx,mjs,cjs}'] },
|
|
26
|
+
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
|
|
27
|
+
pluginJs.configs.recommended,
|
|
28
|
+
prettier,
|
|
29
|
+
];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ConfigArray, ConfigWithExtends } from 'typescript-eslint';
|
|
2
|
+
export declare const FuturebrandRules: ConfigWithExtends;
|
|
3
|
+
export declare const FuturebrandTypescriptRules: ConfigWithExtends;
|
|
4
|
+
export declare const TypescriptModulesDeclare: ConfigWithExtends;
|
|
5
|
+
export declare const ImportExportRules: ConfigWithExtends;
|
|
6
|
+
export declare const JsOnTsRules: ConfigWithExtends;
|
|
7
|
+
export declare const IgnoreRules: ConfigWithExtends;
|
|
8
|
+
export declare const PrettierRules: ConfigWithExtends;
|
|
9
|
+
export declare const TypescriptRules: ConfigArray;
|
|
10
|
+
export declare const JavascriptRules: ConfigArray;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import PluginImportSort from 'eslint-plugin-simple-import-sort';
|
|
2
|
+
import * as CONFIGS from './configs.mjs';
|
|
3
|
+
export const FuturebrandRules = {
|
|
4
|
+
rules: {
|
|
5
|
+
/** @NO_CONSOLE */
|
|
6
|
+
'no-console': ['error', { allow: ['warn', 'error'] }],
|
|
7
|
+
/** @COMPLEXITY */
|
|
8
|
+
complexity: [
|
|
9
|
+
'error',
|
|
10
|
+
{
|
|
11
|
+
variant: 'modified',
|
|
12
|
+
max: CONFIGS.MAX_COMPLEXITY,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
/** @MAX_LINES */
|
|
16
|
+
'max-lines': [
|
|
17
|
+
'error',
|
|
18
|
+
{ max: CONFIGS.MAX_LINES, skipBlankLines: true, skipComments: true },
|
|
19
|
+
],
|
|
20
|
+
/** @NO_MAGIC_NUMBERS */
|
|
21
|
+
'no-magic-numbers': 'off',
|
|
22
|
+
/** @REQUIRE_AWAIT */
|
|
23
|
+
'require-await': 'warn',
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
export const FuturebrandTypescriptRules = {
|
|
27
|
+
rules: {
|
|
28
|
+
/** @NO_EXPLICIT_ANY */
|
|
29
|
+
'@typescript-eslint/no-explicit-any': 'warn',
|
|
30
|
+
/** @NO_MAGIC_NUMBERS */
|
|
31
|
+
'no-magic-numbers': 'off',
|
|
32
|
+
'@typescript-eslint/no-magic-numbers': 'off',
|
|
33
|
+
/** @REQUIRE_AWAIT */
|
|
34
|
+
// Note: you must disable the base rule as it can report incorrect errors
|
|
35
|
+
'require-await': 'off',
|
|
36
|
+
'@typescript-eslint/require-await': 'warn',
|
|
37
|
+
/** @CONSISTENT_TYPE_IMPORTS */
|
|
38
|
+
'@typescript-eslint/consistent-type-imports': ['error'],
|
|
39
|
+
/** @NO_UNSAFE_ASSIGNMENT */
|
|
40
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
41
|
+
/** @NO_UNSAFE_ARGUMENT */
|
|
42
|
+
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
43
|
+
/** @NO_UNSAFE_CALL */
|
|
44
|
+
'@typescript-eslint/no-unsafe-call': 'warn',
|
|
45
|
+
/** @NO_UNSAFE_MEMBER_ACCESS */
|
|
46
|
+
'@typescript-eslint/no-unsafe-member-access': 'warn',
|
|
47
|
+
/** @NO_UNSAFE_RETURN */
|
|
48
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
export const TypescriptModulesDeclare = {
|
|
52
|
+
files: ['**/*.d.ts'],
|
|
53
|
+
rules: {
|
|
54
|
+
'no-var': 'off',
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
export const ImportExportRules = {
|
|
58
|
+
plugins: {
|
|
59
|
+
'simple-import-sort': PluginImportSort,
|
|
60
|
+
},
|
|
61
|
+
rules: {
|
|
62
|
+
'simple-import-sort/imports': 'error',
|
|
63
|
+
'simple-import-sort/exports': 'error',
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
export const JsOnTsRules = {
|
|
67
|
+
files: ['**/*.js', '**/*.jsx', '**/*.cjs'],
|
|
68
|
+
rules: {
|
|
69
|
+
'@typescript-eslint/no-var-requires': 'off',
|
|
70
|
+
'@typescript-eslint/no-require-imports': 'off',
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
export const IgnoreRules = {
|
|
74
|
+
ignores: [
|
|
75
|
+
'public/**/*',
|
|
76
|
+
'dist/**/*',
|
|
77
|
+
'.next/**/*',
|
|
78
|
+
'.tmp/**/*',
|
|
79
|
+
'node_modules/**/*',
|
|
80
|
+
"eslint.config.mjs",
|
|
81
|
+
'prettier.config.mjs'
|
|
82
|
+
],
|
|
83
|
+
};
|
|
84
|
+
export const PrettierRules = {
|
|
85
|
+
rules: {
|
|
86
|
+
'prettier/prettier': [
|
|
87
|
+
'error',
|
|
88
|
+
{
|
|
89
|
+
endOfLine: 'auto',
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
export const TypescriptRules = [
|
|
95
|
+
ImportExportRules,
|
|
96
|
+
FuturebrandRules,
|
|
97
|
+
FuturebrandTypescriptRules,
|
|
98
|
+
PrettierRules,
|
|
99
|
+
JsOnTsRules,
|
|
100
|
+
TypescriptModulesDeclare,
|
|
101
|
+
IgnoreRules,
|
|
102
|
+
];
|
|
103
|
+
export const JavascriptRules = [
|
|
104
|
+
ImportExportRules,
|
|
105
|
+
FuturebrandRules,
|
|
106
|
+
PrettierRules,
|
|
107
|
+
IgnoreRules,
|
|
108
|
+
];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import next from '@next/eslint-plugin-next';
|
|
2
|
+
import tseslint from 'typescript-eslint';
|
|
3
|
+
import { TypescriptConfigs } from './configs/configs.mjs';
|
|
4
|
+
import { TypescriptRules } from './configs/rules.mjs';
|
|
5
|
+
export const EslintNextjsConfigs = tseslint.config([
|
|
6
|
+
...TypescriptConfigs,
|
|
7
|
+
{
|
|
8
|
+
plugins: {
|
|
9
|
+
'@next/next': next,
|
|
10
|
+
},
|
|
11
|
+
rules: {
|
|
12
|
+
...next.configs.recommended.rules,
|
|
13
|
+
...next.configs['core-web-vitals'].rules,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
...TypescriptRules,
|
|
17
|
+
{
|
|
18
|
+
ignores: ['next-env.d.ts', '.next/**/*'],
|
|
19
|
+
},
|
|
20
|
+
]);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import tseslint from 'typescript-eslint';
|
|
2
|
+
import { TypescriptConfigs } from './configs/configs.mjs';
|
|
3
|
+
import { TypescriptRules } from './configs/rules.mjs';
|
|
4
|
+
export const EslintNodeConfigs = tseslint.config([
|
|
5
|
+
...TypescriptConfigs,
|
|
6
|
+
...TypescriptRules,
|
|
7
|
+
{
|
|
8
|
+
rules: {
|
|
9
|
+
'@typescript-eslint/no-magic-numbers': [
|
|
10
|
+
'warn',
|
|
11
|
+
{
|
|
12
|
+
ignore: [0, -1, 1, 2, 9999, 99999],
|
|
13
|
+
enforceConst: true,
|
|
14
|
+
ignoreArrayIndexes: true,
|
|
15
|
+
ignoreDefaultValues: true,
|
|
16
|
+
ignoreClassFieldInitialValues: true,
|
|
17
|
+
detectObjects: false,
|
|
18
|
+
ignoreEnums: true,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
ignores: [
|
|
25
|
+
'strapi/**/*',
|
|
26
|
+
'types/generated/**/*',
|
|
27
|
+
],
|
|
28
|
+
}
|
|
29
|
+
]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prettier.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prettier.mjs';
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { Config } from 'prettier';
|
|
2
|
+
/**
|
|
3
|
+
* @see https://prettier.io/docs/configuration
|
|
4
|
+
*/
|
|
5
|
+
export declare const PrettierConfig: Config;
|
|
6
|
+
export declare const NextjsPrettierConfigs: {
|
|
7
|
+
plugins: string[];
|
|
8
|
+
tailwindFunctions: string[];
|
|
9
|
+
overrides?: Array<{
|
|
10
|
+
files: string | string[];
|
|
11
|
+
excludeFiles?: string | string[];
|
|
12
|
+
options?: import("prettier").Options;
|
|
13
|
+
}>;
|
|
14
|
+
semi?: boolean | undefined;
|
|
15
|
+
singleQuote?: boolean | undefined;
|
|
16
|
+
jsxSingleQuote?: boolean | undefined;
|
|
17
|
+
trailingComma?: "es5" | "none" | "all" | undefined;
|
|
18
|
+
bracketSpacing?: boolean | undefined;
|
|
19
|
+
objectWrap?: "preserve" | "collapse" | undefined;
|
|
20
|
+
bracketSameLine?: boolean | undefined;
|
|
21
|
+
rangeStart?: number | undefined;
|
|
22
|
+
rangeEnd?: number | undefined;
|
|
23
|
+
parser?: import("prettier").LiteralUnion<import("prettier").BuiltInParserName, string> | undefined;
|
|
24
|
+
filepath?: string | undefined;
|
|
25
|
+
requirePragma?: boolean | undefined;
|
|
26
|
+
insertPragma?: boolean | undefined;
|
|
27
|
+
proseWrap?: "always" | "never" | "preserve" | undefined;
|
|
28
|
+
arrowParens?: "always" | "avoid" | undefined;
|
|
29
|
+
htmlWhitespaceSensitivity?: "ignore" | "css" | "strict" | undefined;
|
|
30
|
+
endOfLine?: "auto" | "lf" | "crlf" | "cr" | undefined;
|
|
31
|
+
quoteProps?: "preserve" | "as-needed" | "consistent" | undefined;
|
|
32
|
+
vueIndentScriptAndStyle?: boolean | undefined;
|
|
33
|
+
embeddedLanguageFormatting?: "off" | "auto" | undefined;
|
|
34
|
+
singleAttributePerLine?: boolean | undefined;
|
|
35
|
+
experimentalOperatorPosition?: "start" | "end" | undefined;
|
|
36
|
+
experimentalTernaries?: boolean | undefined;
|
|
37
|
+
jsxBracketSameLine?: boolean | undefined;
|
|
38
|
+
printWidth?: number | undefined;
|
|
39
|
+
tabWidth?: number | undefined;
|
|
40
|
+
useTabs?: boolean | undefined;
|
|
41
|
+
parentParser?: string | undefined | undefined;
|
|
42
|
+
__embeddedInHtml?: boolean | undefined | undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare const NodePrettierConfigs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
overrides?: Array<{
|
|
47
|
+
files: string | string[];
|
|
48
|
+
excludeFiles?: string | string[];
|
|
49
|
+
options?: import("prettier").Options;
|
|
50
|
+
}>;
|
|
51
|
+
semi?: boolean | undefined;
|
|
52
|
+
singleQuote?: boolean | undefined;
|
|
53
|
+
jsxSingleQuote?: boolean | undefined;
|
|
54
|
+
trailingComma?: "es5" | "none" | "all" | undefined;
|
|
55
|
+
bracketSpacing?: boolean | undefined;
|
|
56
|
+
objectWrap?: "preserve" | "collapse" | undefined;
|
|
57
|
+
bracketSameLine?: boolean | undefined;
|
|
58
|
+
rangeStart?: number | undefined;
|
|
59
|
+
rangeEnd?: number | undefined;
|
|
60
|
+
parser?: import("prettier").LiteralUnion<import("prettier").BuiltInParserName, string> | undefined;
|
|
61
|
+
filepath?: string | undefined;
|
|
62
|
+
requirePragma?: boolean | undefined;
|
|
63
|
+
insertPragma?: boolean | undefined;
|
|
64
|
+
proseWrap?: "always" | "never" | "preserve" | undefined;
|
|
65
|
+
arrowParens?: "always" | "avoid" | undefined;
|
|
66
|
+
plugins?: (string | import("prettier").Plugin<any>)[] | undefined;
|
|
67
|
+
htmlWhitespaceSensitivity?: "ignore" | "css" | "strict" | undefined;
|
|
68
|
+
endOfLine?: "auto" | "lf" | "crlf" | "cr" | undefined;
|
|
69
|
+
quoteProps?: "preserve" | "as-needed" | "consistent" | undefined;
|
|
70
|
+
vueIndentScriptAndStyle?: boolean | undefined;
|
|
71
|
+
embeddedLanguageFormatting?: "off" | "auto" | undefined;
|
|
72
|
+
singleAttributePerLine?: boolean | undefined;
|
|
73
|
+
experimentalOperatorPosition?: "start" | "end" | undefined;
|
|
74
|
+
experimentalTernaries?: boolean | undefined;
|
|
75
|
+
jsxBracketSameLine?: boolean | undefined;
|
|
76
|
+
printWidth?: number | undefined;
|
|
77
|
+
tabWidth?: number | undefined;
|
|
78
|
+
useTabs?: boolean | undefined;
|
|
79
|
+
parentParser?: string | undefined | undefined;
|
|
80
|
+
__embeddedInHtml?: boolean | undefined | undefined;
|
|
81
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const PRINT_WIDTH = 80;
|
|
2
|
+
const TAB_WIDTH = 2;
|
|
3
|
+
/**
|
|
4
|
+
* @see https://prettier.io/docs/configuration
|
|
5
|
+
*/
|
|
6
|
+
export const PrettierConfig = {
|
|
7
|
+
printWidth: PRINT_WIDTH,
|
|
8
|
+
proseWrap: 'always',
|
|
9
|
+
semi: false,
|
|
10
|
+
editor: {
|
|
11
|
+
formatOnSave: true,
|
|
12
|
+
},
|
|
13
|
+
trailingComma: 'es5',
|
|
14
|
+
singleQuote: true,
|
|
15
|
+
tabWidth: TAB_WIDTH,
|
|
16
|
+
useTabs: false,
|
|
17
|
+
jsxSingleQuote: false,
|
|
18
|
+
bracketSpacing: true,
|
|
19
|
+
plugins: [],
|
|
20
|
+
};
|
|
21
|
+
export const NextjsPrettierConfigs = {
|
|
22
|
+
...PrettierConfig,
|
|
23
|
+
plugins: ['prettier-plugin-tailwindcss'],
|
|
24
|
+
tailwindFunctions: ['clsx', 'tv'],
|
|
25
|
+
};
|
|
26
|
+
export const NodePrettierConfigs = {
|
|
27
|
+
...PrettierConfig,
|
|
28
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare module '@next/eslint-plugin-next' {
|
|
2
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
3
|
+
interface INextPlugin extends Omit<TSESLint.FlatConfig.Plugin, 'configs'> {
|
|
4
|
+
configs: {
|
|
5
|
+
recommended: {
|
|
6
|
+
rules: TSESLint.FlatConfig.Rules;
|
|
7
|
+
};
|
|
8
|
+
'core-web-vitals': {
|
|
9
|
+
rules: TSESLint.FlatConfig.Rules;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
const next: INextPlugin;
|
|
14
|
+
export default next;
|
|
15
|
+
}
|
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@futurebrand/dev-tools",
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "FutureBrand Dev Tools",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "tsc && tsc-alias",
|
|
7
|
+
"dev": "tsc && (concurrently \"tsc -w\" \"tsc-alias -w\")"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/futurebrand/helpers.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/futurebrand/helpers/issues"
|
|
15
|
+
},
|
|
16
|
+
"author": "Alanderson Zelindro da Rosa",
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"homepage": "https://github.com/futurebrand/helpers#readme",
|
|
19
|
+
"main": "dist/index.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"package.json"
|
|
23
|
+
],
|
|
24
|
+
"bin": {
|
|
25
|
+
"fb": "./dist/bin/index.js"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
"./plugins": "./dist/plugins/index.mjs",
|
|
29
|
+
"./plugins/eslint": "./dist/plugins/eslint/index.mjs",
|
|
30
|
+
"./plugins/eslint/configs": "./dist/plugins/eslint/configs/configs.mjs",
|
|
31
|
+
"./plugins/eslint/rules": "./dist/plugins/eslint/configs/rules.mjs",
|
|
32
|
+
"./plugins/prettier": "./dist/plugins/prettier/index.mjs",
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"typesVersions": {
|
|
36
|
+
"*": {
|
|
37
|
+
"plugins": [
|
|
38
|
+
"dist/plugins/eslint/index.d.ts"
|
|
39
|
+
],
|
|
40
|
+
"plugins/eslint": [
|
|
41
|
+
"dist/plugins/eslint/index.d.ts"
|
|
42
|
+
],
|
|
43
|
+
"plugins/eslint/configs": [
|
|
44
|
+
"dist/plugins/eslint/configs/configs.d.mts"
|
|
45
|
+
],
|
|
46
|
+
"plugins/eslint/rules": [
|
|
47
|
+
"dist/plugins/eslint/configs/rules.d.mts"
|
|
48
|
+
],
|
|
49
|
+
"plugins/prettier": [
|
|
50
|
+
"dist/plugins/prettier/index.d.ts"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@eslint/js": "^9.21.0",
|
|
56
|
+
"@next/eslint-plugin-next": "^15.2.0",
|
|
57
|
+
"commander": "^13.1.0",
|
|
58
|
+
"eslint": "^9.21.0",
|
|
59
|
+
"eslint-config-prettier": "^10.0.2",
|
|
60
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
61
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
62
|
+
"globals": "^16.0.0",
|
|
63
|
+
"prettier": "^3.5.2",
|
|
64
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
65
|
+
"typescript-eslint": "^8.25.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@types/node": "^22.13.5",
|
|
69
|
+
"@typescript-eslint/utils": "^8.25.0",
|
|
70
|
+
"jiti": "^2.4.2",
|
|
71
|
+
"tsc-alias": "^1.8.11",
|
|
72
|
+
"typescript": "^5.7.3"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"eslint": "^9.21.0",
|
|
76
|
+
"prettier": "^3.5.2"
|
|
77
|
+
},
|
|
78
|
+
"overrides": {
|
|
79
|
+
"eslint": "^9.21.0",
|
|
80
|
+
"prettier": "^3.5.2"
|
|
81
|
+
},
|
|
82
|
+
"pnpm": {
|
|
83
|
+
"overrides": {
|
|
84
|
+
"eslint": "^9.21.0",
|
|
85
|
+
"prettier": "^3.5.2"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|