@isentinel/eslint-config 6.0.0-beta.4 → 6.0.0-beta.5
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.d.mts +14 -11
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1017,47 +1017,47 @@ interface RuleOptions {
|
|
|
1017
1017
|
'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Disallow shorthand boolean JSX attributes
|
|
1020
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1020
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/jsx-shorthand-boolean/documentation.md
|
|
1021
1021
|
*/
|
|
1022
1022
|
'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
1023
1023
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1024
|
+
* Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
|
|
1025
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/jsx-shorthand-fragment/documentation.md
|
|
1026
1026
|
*/
|
|
1027
1027
|
'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Enforce naming conventions for everything across a codebase
|
|
1030
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1030
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/naming-convention/documentation.md
|
|
1031
1031
|
*/
|
|
1032
1032
|
'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Disallow unnecessary usage of 'useCallback'
|
|
1035
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1035
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/no-unnecessary-use-callback/documentation.md
|
|
1036
1036
|
*/
|
|
1037
1037
|
'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Disallow unnecessary usage of 'useMemo'
|
|
1040
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1040
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/no-unnecessary-use-memo/documentation.md
|
|
1041
1041
|
*/
|
|
1042
1042
|
'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Enforce destructuring assignment for component props
|
|
1045
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1045
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/prefer-destructuring-assignment/documentation.md
|
|
1046
1046
|
*/
|
|
1047
1047
|
'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Disallow impure calls such as `math.random` or `os.clock` during render
|
|
1050
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1050
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/purity/documentation.md
|
|
1051
1051
|
*/
|
|
1052
1052
|
'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* Enforce a configured sort order for TOML keys and tables
|
|
1055
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1055
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/toml-sort-keys/documentation.md
|
|
1056
1056
|
*/
|
|
1057
1057
|
'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Enforce blank lines around top-level YAML block collection keys
|
|
1060
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.
|
|
1060
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v0.1.7/src/rules/yaml-block-key-blank-lines/documentation.md
|
|
1061
1061
|
*/
|
|
1062
1062
|
'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
|
|
1063
1063
|
/**
|
|
@@ -10631,7 +10631,10 @@ type EslintPluginRequireTestCaseName = [] | [{
|
|
|
10631
10631
|
}]; // ----- eslint-plugin/test-case-property-ordering -----
|
|
10632
10632
|
type EslintPluginTestCasePropertyOrdering = [] | [unknown[]]; // ----- eslint-plugin/test-case-shorthand-strings -----
|
|
10633
10633
|
type EslintPluginTestCaseShorthandStrings = [] | [("as-needed" | "never" | "consistent" | "consistent-as-needed")]; // ----- flawless/jsx-shorthand-fragment -----
|
|
10634
|
-
type FlawlessJsxShorthandFragment = [] | [
|
|
10634
|
+
type FlawlessJsxShorthandFragment = [] | [{
|
|
10635
|
+
fragmentName?: string;
|
|
10636
|
+
mode?: ("element" | "syntax");
|
|
10637
|
+
}]; // ----- flawless/naming-convention -----
|
|
10635
10638
|
type _FlawlessNamingConventionFormatOptionsConfig = (_FlawlessNamingConventionPredefinedFormats[] | null);
|
|
10636
10639
|
type _FlawlessNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE");
|
|
10637
10640
|
type _FlawlessNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.5",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"eslint-plugin-better-max-params": "1.0.0",
|
|
63
63
|
"eslint-plugin-comment-length": "2.3.1",
|
|
64
64
|
"eslint-plugin-de-morgan": "2.1.2",
|
|
65
|
-
"eslint-plugin-flawless": "0.1.
|
|
65
|
+
"eslint-plugin-flawless": "0.1.7",
|
|
66
66
|
"eslint-plugin-format-lua": "2.0.0",
|
|
67
67
|
"eslint-plugin-import-lite": "0.6.0",
|
|
68
68
|
"eslint-plugin-jsdoc": "63.0.10",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"type-fest": "5.7.0",
|
|
119
119
|
"typescript": "6.0.3",
|
|
120
120
|
"unplugin-unused": "0.5.7",
|
|
121
|
-
"@isentinel/eslint-config": "6.0.0-beta.
|
|
121
|
+
"@isentinel/eslint-config": "6.0.0-beta.5"
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
124
|
"@vitest/eslint-plugin": "^1.6.4",
|