@averay/codeformat 0.2.21 → 0.2.23
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/README.md +1 -1
- package/dist/rulesets/eslint/ruleset-jsx.d.ts +0 -61
- package/dist/rulesets/eslint/ruleset-jsx.js +0 -11
- package/dist/rulesets/eslint/ruleset-jsx.js.map +1 -1
- package/dist/src/php/PhpCsFixerConfig.php +10 -0
- package/package.json +17 -11
- package/.claude/settings.local.json +0 -7
- package/tsconfig.json +0 -11
- package/types.d.ts +0 -122
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ A very opinionated collection of configurations for a number of code formatting
|
|
|
9
9
|
2. Symlink the static configuration files to the project root:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
ln -s node_modules/@averay/codeformat/.editorconfig
|
|
12
|
+
ln -s node_modules/@averay/codeformat/.editorconfig ./
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
3. Import and call the relevant configuration builders for specific tools
|
|
@@ -1,65 +1,4 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
readonly '@typescript-eslint/naming-convention': ["error", ...({
|
|
3
|
-
readonly selector: "default";
|
|
4
|
-
readonly format: readonly ["strictCamelCase"];
|
|
5
|
-
} | {
|
|
6
|
-
readonly selector: "import";
|
|
7
|
-
readonly format: null;
|
|
8
|
-
} | {
|
|
9
|
-
readonly selector: "variable";
|
|
10
|
-
readonly modifiers: readonly ["const"];
|
|
11
|
-
readonly format: readonly ["strictCamelCase", "StrictPascalCase", "UPPER_CASE"];
|
|
12
|
-
} | {
|
|
13
|
-
readonly selector: "variable";
|
|
14
|
-
readonly modifiers: readonly ["const"];
|
|
15
|
-
readonly filter: {
|
|
16
|
-
readonly regex: string;
|
|
17
|
-
readonly match: true;
|
|
18
|
-
};
|
|
19
|
-
readonly format: readonly ["strictCamelCase"];
|
|
20
|
-
readonly leadingUnderscore: "allow";
|
|
21
|
-
} | {
|
|
22
|
-
readonly selector: "property";
|
|
23
|
-
readonly format: readonly ["strictCamelCase", "UPPER_CASE"];
|
|
24
|
-
} | {
|
|
25
|
-
readonly selector: "classProperty";
|
|
26
|
-
readonly modifiers: readonly ["static"];
|
|
27
|
-
readonly format: readonly ["strictCamelCase", "StrictPascalCase", "UPPER_CASE"];
|
|
28
|
-
} | {
|
|
29
|
-
readonly selector: "enumMember";
|
|
30
|
-
readonly format: readonly ["strictCamelCase", "StrictPascalCase", "UPPER_CASE"];
|
|
31
|
-
} | {
|
|
32
|
-
readonly selector: "function";
|
|
33
|
-
readonly format: readonly ["strictCamelCase", "StrictPascalCase"];
|
|
34
|
-
} | {
|
|
35
|
-
readonly selector: "typeLike";
|
|
36
|
-
readonly format: readonly ["StrictPascalCase"];
|
|
37
|
-
} | {
|
|
38
|
-
readonly selector: readonly ["objectLiteralProperty"];
|
|
39
|
-
readonly format: null;
|
|
40
|
-
} | {
|
|
41
|
-
readonly selector: readonly ["classProperty", "objectLiteralMethod"];
|
|
42
|
-
readonly format: readonly ["strictCamelCase", "UPPER_CASE"];
|
|
43
|
-
} | {
|
|
44
|
-
readonly selector: "typeParameter";
|
|
45
|
-
readonly format: null;
|
|
46
|
-
readonly custom: {
|
|
47
|
-
readonly regex: string;
|
|
48
|
-
readonly match: true;
|
|
49
|
-
};
|
|
50
|
-
} | ({
|
|
51
|
-
readonly selector: "parameter";
|
|
52
|
-
readonly format: readonly ["strictCamelCase"];
|
|
53
|
-
readonly leadingUnderscore: "allow";
|
|
54
|
-
} & Record<"modifiers", unknown>) | ({
|
|
55
|
-
readonly selector: "parameter";
|
|
56
|
-
readonly format: readonly ["strictCamelCase"];
|
|
57
|
-
readonly leadingUnderscore: "allow";
|
|
58
|
-
} & Record<"filter", unknown>) | {
|
|
59
|
-
format: string[];
|
|
60
|
-
selector: "parameter";
|
|
61
|
-
leadingUnderscore: "allow";
|
|
62
|
-
})[]];
|
|
63
2
|
readonly 'jsx-a11y/aria-role': ["error", {
|
|
64
3
|
readonly allowInvalidRoles: readonly ["text"];
|
|
65
4
|
}];
|
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
import jsxA11yPlugin from 'eslint-plugin-jsx-a11y';
|
|
2
2
|
import reactPlugin from 'eslint-plugin-react';
|
|
3
3
|
import reactYouMightNotNeedAnEffectPlugin from 'eslint-plugin-react-you-might-not-need-an-effect';
|
|
4
|
-
import rulesetTypescript from "./ruleset-typescript.js";
|
|
5
4
|
const reactHooksPlugin = await import('eslint-plugin-react-hooks').then((module) => module.default);
|
|
6
|
-
const [namingConventionState, ...namingConventionRules] = rulesetTypescript['@typescript-eslint/naming-convention'];
|
|
7
5
|
export default {
|
|
8
6
|
...jsxA11yPlugin.configs.strict.rules,
|
|
9
7
|
...reactPlugin.configs.flat['recommended']?.rules,
|
|
10
8
|
...reactPlugin.configs.flat['jsx-runtime']?.rules,
|
|
11
9
|
...reactHooksPlugin.configs.recommended.rules,
|
|
12
10
|
...reactYouMightNotNeedAnEffectPlugin.configs.recommended.rules,
|
|
13
|
-
'@typescript-eslint/naming-convention': [
|
|
14
|
-
namingConventionState,
|
|
15
|
-
...namingConventionRules.map((rule) => {
|
|
16
|
-
if (rule.selector !== 'parameter' || 'modifiers' in rule || 'filter' in rule) {
|
|
17
|
-
return rule;
|
|
18
|
-
}
|
|
19
|
-
return { ...rule, format: ['strictCamelCase', 'StrictPascalCase'] };
|
|
20
|
-
}),
|
|
21
|
-
],
|
|
22
11
|
'jsx-a11y/aria-role': ['error', { allowInvalidRoles: ['text'] }],
|
|
23
12
|
'jsx-a11y/control-has-associated-label': 'error',
|
|
24
13
|
'jsx-a11y/lang': 'error',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ruleset-jsx.js","sourceRoot":"","sources":["../../../rulesets/eslint/ruleset-jsx.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,kCAAkC,MAAM,k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,oBAAoB,EAAE,OAAO;IAC7B,sBAAsB,EAAE,OAAO;IAC/B,gBAAgB,EAAE,OAAO;IACzB,2BAA2B,EAAE,CAAC,OAAO,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;IACtE,iBAAiB,EAAE,OAAO;IAC1B,qCAAqC,EAAE,OAAO;IAC9C,yCAAyC,EAAE,OAAO;IAClD,4BAA4B,EAAE,OAAO;IACrC,uBAAuB,EAAE,OAAO;IAChC,gCAAgC,EAAE,OAAO;IACzC,wBAAwB,EAAE,OAAO;IACjC,iCAAiC,EAAE,OAAO;IAC1C,yBAAyB,EAAE,OAAO;CACU,CAAC"}
|
|
@@ -17,6 +17,7 @@ class PhpCsFixerConfig extends BaseConfig
|
|
|
17
17
|
$config = new self();
|
|
18
18
|
|
|
19
19
|
$config->setParallelConfig(ParallelConfigFactory::detect())->setRiskyAllowed(true)->setRules(static::loadRules());
|
|
20
|
+
$config->setUnsupportedPhpVersionAllowed(self::phpVersionCompare('>=', '8.5.0'));
|
|
20
21
|
|
|
21
22
|
if ($finder !== null) {
|
|
22
23
|
$config->setFinder($finder);
|
|
@@ -24,4 +25,13 @@ class PhpCsFixerConfig extends BaseConfig
|
|
|
24
25
|
|
|
25
26
|
return $config;
|
|
26
27
|
}
|
|
28
|
+
|
|
29
|
+
private static function phpVersionCompare(string $operator, string $version): bool
|
|
30
|
+
{
|
|
31
|
+
return \version_compare(
|
|
32
|
+
\PHP_MAJOR_VERSION . '.' . \PHP_MINOR_VERSION . '.' . \PHP_RELEASE_VERSION,
|
|
33
|
+
$version,
|
|
34
|
+
$operator,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
27
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@averay/codeformat",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"author": "Adam Averay (https://adamaveray.com.au/)",
|
|
5
5
|
"homepage": "https://github.com/adamaveray/codeformat",
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "dist/src/index.js",
|
|
20
20
|
"types": "dist/src/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"/.editorconfig",
|
|
23
|
+
"/dist",
|
|
24
|
+
"/README.md",
|
|
25
|
+
"/tsconfig.base.json"
|
|
26
|
+
],
|
|
21
27
|
"scripts": {
|
|
22
28
|
"build": "rm -rf dist && bun run build:tsc && bun run build:php && chmod +x dist/bin/*.js",
|
|
23
29
|
"build:tsc": "bun --bun x tsc --project tsconfig.build.json --outDir dist",
|
|
@@ -36,17 +42,17 @@
|
|
|
36
42
|
"@eslint/markdown": "^7.5.1",
|
|
37
43
|
"@prettier/plugin-php": "^0.24.0",
|
|
38
44
|
"@prettier/plugin-xml": "^3.4.2",
|
|
39
|
-
"@stylistic/eslint-plugin": "^5.
|
|
45
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
40
46
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
42
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
-
"@typescript-eslint/utils": "^8.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
48
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
49
|
+
"@typescript-eslint/utils": "^8.48.0",
|
|
44
50
|
"eslint": "^9.39.1",
|
|
45
51
|
"eslint-config-prettier": "^10.1.8",
|
|
46
52
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
47
53
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
48
54
|
"eslint-plugin-import-x": "^4.16.1",
|
|
49
|
-
"eslint-plugin-jsdoc": "^61.
|
|
55
|
+
"eslint-plugin-jsdoc": "^61.4.1",
|
|
50
56
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
51
57
|
"eslint-plugin-promise": "^7.2.1",
|
|
52
58
|
"eslint-plugin-react": "^7.37.5",
|
|
@@ -56,11 +62,11 @@
|
|
|
56
62
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
57
63
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
58
64
|
"globals": "^16.5.0",
|
|
59
|
-
"knip": "^5.
|
|
65
|
+
"knip": "^5.70.2",
|
|
60
66
|
"postcss-scss": "^4.0.9",
|
|
61
|
-
"prettier": "^3.
|
|
67
|
+
"prettier": "^3.7.1",
|
|
62
68
|
"prettier-plugin-ini": "^1.3.0",
|
|
63
|
-
"stylelint": "^16.
|
|
69
|
+
"stylelint": "^16.26.0",
|
|
64
70
|
"stylelint-config-recommended": "^17.0.0",
|
|
65
71
|
"stylelint-config-recommended-scss": "^16.0.2",
|
|
66
72
|
"stylelint-config-standard": "^39.0.1",
|
|
@@ -69,11 +75,11 @@
|
|
|
69
75
|
"stylelint-plugin-defensive-css": "^1.0.4",
|
|
70
76
|
"stylelint-scss": "^6.12.1",
|
|
71
77
|
"stylelint-use-logical": "^2.1.2",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
78
|
+
"typescript-eslint": "^8.48.0"
|
|
73
79
|
},
|
|
74
80
|
"devDependencies": {
|
|
75
81
|
"@types/bun": "latest",
|
|
76
|
-
"bumpp": "^10.3.
|
|
82
|
+
"bumpp": "^10.3.2",
|
|
77
83
|
"husky": "^9.1.7",
|
|
78
84
|
"typescript": "^5.9.3"
|
|
79
85
|
}
|
package/tsconfig.json
DELETED
package/types.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
declare module '@prettier/plugin-php' {
|
|
2
|
-
import type { Plugin } from 'prettier';
|
|
3
|
-
|
|
4
|
-
declare const plugin: Plugin;
|
|
5
|
-
export = plugin; // The bundled types incorrectly declare `export default plugin` while the source is `export { ... }`.
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare module '@stylistic/eslint-plugin' {
|
|
9
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
10
|
-
|
|
11
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
12
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare module 'eslint-config-prettier' {
|
|
17
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
18
|
-
|
|
19
|
-
export default {} as TSESLint.FlatConfig.Config;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
declare module 'eslint-plugin-eslint-comments' {
|
|
23
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
24
|
-
|
|
25
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
26
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare module 'eslint-plugin-jsdoc' {
|
|
31
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
32
|
-
|
|
33
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
34
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare module 'eslint-plugin-promise' {
|
|
39
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
40
|
-
|
|
41
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
42
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare module 'eslint-plugin-sonarjs' {
|
|
47
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
48
|
-
|
|
49
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
50
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
declare module 'eslint-plugin-unicorn' {
|
|
55
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
56
|
-
|
|
57
|
-
export default {} as TSESLint.FlatConfig.Plugin & {
|
|
58
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
declare module 'eslint-plugin-react-hooks' {
|
|
63
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
64
|
-
|
|
65
|
-
export = {} as TSESLint.FlatConfig.Plugin & {
|
|
66
|
-
configs: Record<'recommended', TSESLint.FlatConfig.Config>;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare module 'prettier-plugin-ini' {
|
|
71
|
-
import type { Plugin } from 'prettier';
|
|
72
|
-
|
|
73
|
-
export default {} as Plugin;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
declare module 'stylelint-config-recommended' {
|
|
77
|
-
import type { Config } from 'stylelint';
|
|
78
|
-
|
|
79
|
-
export default {} as Config;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
declare module 'stylelint-config-recommended-scss' {
|
|
83
|
-
import type { Config } from 'stylelint';
|
|
84
|
-
|
|
85
|
-
export default {} as Config;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
declare module 'stylelint-config-standard' {
|
|
89
|
-
import type { Config } from 'stylelint';
|
|
90
|
-
|
|
91
|
-
export default {} as Config;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
declare module 'stylelint-config-standard-scss' {
|
|
95
|
-
import type { Config } from 'stylelint';
|
|
96
|
-
|
|
97
|
-
export default {} as Config;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
declare module 'stylelint-order' {
|
|
101
|
-
import type { Plugin } from 'stylelint';
|
|
102
|
-
|
|
103
|
-
export default {} as Plugin;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
declare module 'stylelint-plugin-defensive-css' {
|
|
107
|
-
import type { Plugin } from 'stylelint';
|
|
108
|
-
|
|
109
|
-
export default [] as [Plugin];
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
declare module 'stylelint-scss' {
|
|
113
|
-
import type { Plugin } from 'stylelint';
|
|
114
|
-
|
|
115
|
-
export default {} as Plugin;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
declare module 'stylelint-use-logical' {
|
|
119
|
-
import type { Plugin } from 'stylelint';
|
|
120
|
-
|
|
121
|
-
export default {} as Plugin;
|
|
122
|
-
}
|