@rhyster/eslint-config 1.0.0
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/LICENSE +20 -0
- package/README.md +7 -0
- package/dist/build.config.d.ts +3 -0
- package/dist/build.config.d.ts.map +1 -0
- package/dist/eslint.config.d.ts +853 -0
- package/dist/eslint.config.d.ts.map +1 -0
- package/dist/index.cjs +1911 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3731 -0
- package/dist/index.d.mts +3731 -0
- package/dist/index.d.ts +3731 -0
- package/dist/index.mjs +1898 -0
- package/dist/index.mjs.map +1 -0
- package/dist/src/airbnb/best-practices.d.ts +177 -0
- package/dist/src/airbnb/best-practices.d.ts.map +1 -0
- package/dist/src/airbnb/errors.d.ts +69 -0
- package/dist/src/airbnb/errors.d.ts.map +1 -0
- package/dist/src/airbnb/es6.d.ts +82 -0
- package/dist/src/airbnb/es6.d.ts.map +1 -0
- package/dist/src/airbnb/imports.d.ts +91 -0
- package/dist/src/airbnb/imports.d.ts.map +1 -0
- package/dist/src/airbnb/node.d.ts +19 -0
- package/dist/src/airbnb/node.d.ts.map +1 -0
- package/dist/src/airbnb/strict.d.ts +8 -0
- package/dist/src/airbnb/strict.d.ts.map +1 -0
- package/dist/src/airbnb/style.d.ts +310 -0
- package/dist/src/airbnb/style.d.ts.map +1 -0
- package/dist/src/airbnb/variables.d.ts +35 -0
- package/dist/src/airbnb/variables.d.ts.map +1 -0
- package/dist/src/index.d.ts +3729 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/typescript.d.ts +49 -0
- package/dist/src/typescript.d.ts.map +1 -0
- package/package.json +59 -0
- package/src/airbnb/best-practices.ts +477 -0
- package/src/airbnb/errors.ts +215 -0
- package/src/airbnb/es6.ts +210 -0
- package/src/airbnb/imports.ts +288 -0
- package/src/airbnb/node.ts +54 -0
- package/src/airbnb/strict.ts +9 -0
- package/src/airbnb/style.ts +699 -0
- package/src/airbnb/variables.ts +74 -0
- package/src/index.ts +111 -0
- package/src/typescript.ts +90 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
rules: {
|
|
4
|
+
'arrow-body-style': ["error", string, {
|
|
5
|
+
requireReturnForObjectLiteral: boolean;
|
|
6
|
+
}];
|
|
7
|
+
'@stylistic/arrow-parens': ["error", string];
|
|
8
|
+
'@stylistic/arrow-spacing': ["error", {
|
|
9
|
+
before: boolean;
|
|
10
|
+
after: boolean;
|
|
11
|
+
}];
|
|
12
|
+
'constructor-super': "error";
|
|
13
|
+
'@stylistic/generator-star-spacing': ["error", {
|
|
14
|
+
before: boolean;
|
|
15
|
+
after: boolean;
|
|
16
|
+
}];
|
|
17
|
+
'no-class-assign': "error";
|
|
18
|
+
'@stylistic/no-confusing-arrow': ["error", {
|
|
19
|
+
allowParens: boolean;
|
|
20
|
+
}];
|
|
21
|
+
'no-const-assign': "error";
|
|
22
|
+
'no-dupe-class-members': "error";
|
|
23
|
+
'no-duplicate-imports': "off";
|
|
24
|
+
'no-restricted-exports': ["error", {
|
|
25
|
+
restrictedNamedExports: string[];
|
|
26
|
+
}];
|
|
27
|
+
'no-restricted-imports': ["off", {
|
|
28
|
+
paths: never[];
|
|
29
|
+
patterns: never[];
|
|
30
|
+
}];
|
|
31
|
+
'no-this-before-super': "error";
|
|
32
|
+
'no-useless-computed-key': "error";
|
|
33
|
+
'no-useless-constructor': "error";
|
|
34
|
+
'no-useless-rename': ["error", {
|
|
35
|
+
ignoreDestructuring: boolean;
|
|
36
|
+
ignoreImport: boolean;
|
|
37
|
+
ignoreExport: boolean;
|
|
38
|
+
}];
|
|
39
|
+
'no-var': "error";
|
|
40
|
+
'object-shorthand': ["error", string, {
|
|
41
|
+
ignoreConstructors: boolean;
|
|
42
|
+
avoidQuotes: boolean;
|
|
43
|
+
}];
|
|
44
|
+
'prefer-arrow-callback': ["error", {
|
|
45
|
+
allowNamedFunctions: boolean;
|
|
46
|
+
allowUnboundThis: boolean;
|
|
47
|
+
}];
|
|
48
|
+
'prefer-const': ["error", {
|
|
49
|
+
destructuring: string;
|
|
50
|
+
ignoreReadBeforeAssign: boolean;
|
|
51
|
+
}];
|
|
52
|
+
'prefer-destructuring': ["error", {
|
|
53
|
+
VariableDeclarator: {
|
|
54
|
+
array: boolean;
|
|
55
|
+
object: boolean;
|
|
56
|
+
};
|
|
57
|
+
AssignmentExpression: {
|
|
58
|
+
array: boolean;
|
|
59
|
+
object: boolean;
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
enforceForRenamedProperties: boolean;
|
|
63
|
+
}];
|
|
64
|
+
'prefer-numeric-literals': "error";
|
|
65
|
+
'prefer-rest-params': "error";
|
|
66
|
+
'prefer-spread': "error";
|
|
67
|
+
'prefer-template': "error";
|
|
68
|
+
'require-yield': "error";
|
|
69
|
+
'@stylistic/rest-spread-spacing': ["error", string];
|
|
70
|
+
'sort-imports': ["off", {
|
|
71
|
+
ignoreCase: boolean;
|
|
72
|
+
ignoreDeclarationSort: boolean;
|
|
73
|
+
ignoreMemberSort: boolean;
|
|
74
|
+
memberSyntaxSortOrder: string[];
|
|
75
|
+
}];
|
|
76
|
+
'symbol-description': "error";
|
|
77
|
+
'@stylistic/template-curly-spacing': "error";
|
|
78
|
+
'@stylistic/yield-star-spacing': ["error", string];
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export default _default;
|
|
82
|
+
//# sourceMappingURL=es6.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es6.d.ts","sourceRoot":"","sources":["../../../src/airbnb/es6.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA+M0B"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
rules: {
|
|
4
|
+
'import-x/no-unresolved': ["error", {
|
|
5
|
+
commonjs: boolean;
|
|
6
|
+
caseSensitive: boolean;
|
|
7
|
+
}];
|
|
8
|
+
'import-x/named': "error";
|
|
9
|
+
'import-x/default': "off";
|
|
10
|
+
'import-x/namespace': "off";
|
|
11
|
+
'import-x/export': "error";
|
|
12
|
+
'import-x/no-named-as-default': "error";
|
|
13
|
+
'import-x/no-named-as-default-member': "error";
|
|
14
|
+
'import-x/no-deprecated': "off";
|
|
15
|
+
'import-x/no-extraneous-dependencies': ["error", {
|
|
16
|
+
devDependencies: string[];
|
|
17
|
+
optionalDependencies: boolean;
|
|
18
|
+
}];
|
|
19
|
+
'import-x/no-mutable-exports': "error";
|
|
20
|
+
'import-x/no-commonjs': "error";
|
|
21
|
+
'import-x/no-amd': "error";
|
|
22
|
+
'import-x/no-nodejs-modules': "error";
|
|
23
|
+
'import-x/first': "error";
|
|
24
|
+
'import-x/no-duplicates': "error";
|
|
25
|
+
'import-x/no-namespace': "error";
|
|
26
|
+
'import-x/extensions': ["error", string, {
|
|
27
|
+
ignorePackages: boolean;
|
|
28
|
+
checkTypeImports: boolean;
|
|
29
|
+
}];
|
|
30
|
+
'import-x/order': ["error", {
|
|
31
|
+
groups: string[];
|
|
32
|
+
'newlines-between': string;
|
|
33
|
+
alphabetize: {
|
|
34
|
+
order: string;
|
|
35
|
+
orderImportKind: string;
|
|
36
|
+
};
|
|
37
|
+
}];
|
|
38
|
+
'import-x/newline-after-import': "error";
|
|
39
|
+
'import-x/prefer-default-export': "error";
|
|
40
|
+
'import-x/no-restricted-paths': "off";
|
|
41
|
+
'import-x/max-dependencies': ["off", {
|
|
42
|
+
max: number;
|
|
43
|
+
}];
|
|
44
|
+
'import-x/no-absolute-path': "error";
|
|
45
|
+
'import-x/no-dynamic-require': "error";
|
|
46
|
+
'import-x/no-internal-modules': ["off", {
|
|
47
|
+
allow: never[];
|
|
48
|
+
}];
|
|
49
|
+
'import-x/unambiguous': "off";
|
|
50
|
+
'import-x/no-webpack-loader-syntax': "error";
|
|
51
|
+
'import-x/no-unassigned-import': "off";
|
|
52
|
+
'import-x/no-named-default': "error";
|
|
53
|
+
'import-x/no-anonymous-default-export': ["off", {
|
|
54
|
+
allowArray: boolean;
|
|
55
|
+
allowArrowFunction: boolean;
|
|
56
|
+
allowAnonymousClass: boolean;
|
|
57
|
+
allowAnonymousFunction: boolean;
|
|
58
|
+
allowLiteral: boolean;
|
|
59
|
+
allowObject: boolean;
|
|
60
|
+
}];
|
|
61
|
+
'import-x/exports-last': "error";
|
|
62
|
+
'import-x/group-exports': "off";
|
|
63
|
+
'import-x/no-default-export': "off";
|
|
64
|
+
'import-x/no-named-export': "off";
|
|
65
|
+
'import-x/no-self-import': "error";
|
|
66
|
+
'import-x/no-cycle': ["error", {
|
|
67
|
+
maxDepth: string;
|
|
68
|
+
}];
|
|
69
|
+
'import-x/no-useless-path-segments': ["error", {
|
|
70
|
+
commonjs: boolean;
|
|
71
|
+
}];
|
|
72
|
+
'import-x/dynamic-import-chunkname': ["off", {
|
|
73
|
+
importFunctions: never[];
|
|
74
|
+
webpackChunknameFormat: string;
|
|
75
|
+
}];
|
|
76
|
+
'import-x/no-relative-parent-imports': "off";
|
|
77
|
+
'import-x/no-unused-modules': ["error", {
|
|
78
|
+
ignoreExports: never[];
|
|
79
|
+
missingExports: boolean;
|
|
80
|
+
unusedExports: boolean;
|
|
81
|
+
}];
|
|
82
|
+
'import-x/no-import-module-exports': ["error", {
|
|
83
|
+
exceptions: never[];
|
|
84
|
+
}];
|
|
85
|
+
'import-x/no-relative-packages': "error";
|
|
86
|
+
'import-x/consistent-type-specifier-style': ["error", string];
|
|
87
|
+
'import-x/no-empty-named-blocks': "error";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export default _default;
|
|
91
|
+
//# sourceMappingURL=imports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../../src/airbnb/imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA6R0B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
rules: {
|
|
4
|
+
'n/callback-return': "off";
|
|
5
|
+
'n/global-require': "error";
|
|
6
|
+
'n/handle-callback-err': "off";
|
|
7
|
+
'n/no-deprecated-api': "error";
|
|
8
|
+
'n/no-mixed-requires': ["off", boolean];
|
|
9
|
+
'n/no-new-require': "error";
|
|
10
|
+
'n/no-path-concat': "error";
|
|
11
|
+
'n/no-process-env': "off";
|
|
12
|
+
'n/no-process-exit': "off";
|
|
13
|
+
'n/no-restricted-modules': "off";
|
|
14
|
+
'n/no-sync': "off";
|
|
15
|
+
'import-x/no-nodejs-modules': "off";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/airbnb/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,wBAmD0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict.d.ts","sourceRoot":"","sources":["../../../src/airbnb/strict.ts"],"names":[],"mappings":";;;;;;AAEA,wBAM0B"}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
rules: {
|
|
4
|
+
'@stylistic/array-bracket-newline': ["error", string];
|
|
5
|
+
'@stylistic/array-element-newline': ["error", {
|
|
6
|
+
consistent: boolean;
|
|
7
|
+
multiline: boolean;
|
|
8
|
+
minItems: number;
|
|
9
|
+
}];
|
|
10
|
+
'@stylistic/array-bracket-spacing': ["error", string];
|
|
11
|
+
'@stylistic/block-spacing': ["error", string];
|
|
12
|
+
'@stylistic/brace-style': ["error", string, {
|
|
13
|
+
allowSingleLine: boolean;
|
|
14
|
+
}];
|
|
15
|
+
camelcase: "error";
|
|
16
|
+
'capitalized-comments': ["off", string, {
|
|
17
|
+
line: {
|
|
18
|
+
ignorePattern: string;
|
|
19
|
+
ignoreInlineComments: boolean;
|
|
20
|
+
ignoreConsecutiveComments: boolean;
|
|
21
|
+
};
|
|
22
|
+
block: {
|
|
23
|
+
ignorePattern: string;
|
|
24
|
+
ignoreInlineComments: boolean;
|
|
25
|
+
ignoreConsecutiveComments: boolean;
|
|
26
|
+
};
|
|
27
|
+
}];
|
|
28
|
+
'@stylistic/comma-dangle': ["error", {
|
|
29
|
+
arrays: string;
|
|
30
|
+
objects: string;
|
|
31
|
+
imports: string;
|
|
32
|
+
exports: string;
|
|
33
|
+
functions: string;
|
|
34
|
+
enums: string;
|
|
35
|
+
generics: string;
|
|
36
|
+
tuples: string;
|
|
37
|
+
}];
|
|
38
|
+
'@stylistic/comma-spacing': ["error", {
|
|
39
|
+
before: boolean;
|
|
40
|
+
after: boolean;
|
|
41
|
+
}];
|
|
42
|
+
'@stylistic/comma-style': ["error", string, {
|
|
43
|
+
exceptions: {
|
|
44
|
+
ArrayExpression: boolean;
|
|
45
|
+
ArrayPattern: boolean;
|
|
46
|
+
ArrowFunctionExpression: boolean;
|
|
47
|
+
CallExpression: boolean;
|
|
48
|
+
FunctionDeclaration: boolean;
|
|
49
|
+
FunctionExpression: boolean;
|
|
50
|
+
ImportDeclaration: boolean;
|
|
51
|
+
ObjectExpression: boolean;
|
|
52
|
+
ObjectPattern: boolean;
|
|
53
|
+
VariableDeclaration: boolean;
|
|
54
|
+
NewExpression: boolean;
|
|
55
|
+
};
|
|
56
|
+
}];
|
|
57
|
+
'@stylistic/computed-property-spacing': ["error", string];
|
|
58
|
+
'consistent-this': "off";
|
|
59
|
+
'@stylistic/eol-last': ["error", string];
|
|
60
|
+
'@stylistic/function-call-argument-newline': ["error", string];
|
|
61
|
+
'@stylistic/func-call-spacing': ["error", string];
|
|
62
|
+
'func-name-matching': ["off", string, {
|
|
63
|
+
includeCommonJSModuleExports: boolean;
|
|
64
|
+
considerPropertyDescriptor: boolean;
|
|
65
|
+
}];
|
|
66
|
+
'func-names': "error";
|
|
67
|
+
'func-style': ["error", string];
|
|
68
|
+
'@stylistic/function-paren-newline': ["error", string];
|
|
69
|
+
'id-denylist': "off";
|
|
70
|
+
'id-length': "off";
|
|
71
|
+
'id-match': "off";
|
|
72
|
+
'@stylistic/implicit-arrow-linebreak': ["error", string];
|
|
73
|
+
'@stylistic/indent': ["error", number, {
|
|
74
|
+
SwitchCase: number;
|
|
75
|
+
VariableDeclarator: number;
|
|
76
|
+
outerIIFEBody: number;
|
|
77
|
+
FunctionDeclaration: {
|
|
78
|
+
parameters: number;
|
|
79
|
+
body: number;
|
|
80
|
+
};
|
|
81
|
+
FunctionExpression: {
|
|
82
|
+
parameters: number;
|
|
83
|
+
body: number;
|
|
84
|
+
};
|
|
85
|
+
CallExpression: {
|
|
86
|
+
arguments: number;
|
|
87
|
+
};
|
|
88
|
+
ArrayExpression: number;
|
|
89
|
+
ObjectExpression: number;
|
|
90
|
+
ImportDeclaration: number;
|
|
91
|
+
flatTernaryExpressions: boolean;
|
|
92
|
+
ignoreComments: boolean;
|
|
93
|
+
}];
|
|
94
|
+
'@stylistic/jsx-quotes': ["off", string];
|
|
95
|
+
'@stylistic/key-spacing': ["error", {
|
|
96
|
+
beforeColon: boolean;
|
|
97
|
+
afterColon: boolean;
|
|
98
|
+
}];
|
|
99
|
+
'@stylistic/keyword-spacing': ["error", {
|
|
100
|
+
before: boolean;
|
|
101
|
+
after: boolean;
|
|
102
|
+
overrides: {
|
|
103
|
+
return: {
|
|
104
|
+
after: boolean;
|
|
105
|
+
};
|
|
106
|
+
throw: {
|
|
107
|
+
after: boolean;
|
|
108
|
+
};
|
|
109
|
+
case: {
|
|
110
|
+
after: boolean;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}];
|
|
114
|
+
'@stylistic/line-comment-position': ["off", {
|
|
115
|
+
position: string;
|
|
116
|
+
ignorePattern: string;
|
|
117
|
+
applyDefaultIgnorePatterns: boolean;
|
|
118
|
+
}];
|
|
119
|
+
'@stylistic/linebreak-style': ["error", string];
|
|
120
|
+
'@stylistic/lines-between-class-members': ["error", string, {
|
|
121
|
+
exceptAfterSingleLine: boolean;
|
|
122
|
+
}];
|
|
123
|
+
'@stylistic/lines-around-comment': "off";
|
|
124
|
+
'logical-assignment-operators': ["error", string, {
|
|
125
|
+
enforceForIfStatements: boolean;
|
|
126
|
+
}];
|
|
127
|
+
'max-depth': ["off", number];
|
|
128
|
+
'@stylistic/max-len': ["error", number, number, {
|
|
129
|
+
ignoreUrls: boolean;
|
|
130
|
+
ignoreComments: boolean;
|
|
131
|
+
ignoreRegExpLiterals: boolean;
|
|
132
|
+
ignoreStrings: boolean;
|
|
133
|
+
ignoreTemplateLiterals: boolean;
|
|
134
|
+
}];
|
|
135
|
+
'max-lines': ["off", {
|
|
136
|
+
max: number;
|
|
137
|
+
skipBlankLines: boolean;
|
|
138
|
+
skipComments: boolean;
|
|
139
|
+
}];
|
|
140
|
+
'max-lines-per-function': ["off", {
|
|
141
|
+
max: number;
|
|
142
|
+
skipBlankLines: boolean;
|
|
143
|
+
skipComments: boolean;
|
|
144
|
+
IIFEs: boolean;
|
|
145
|
+
}];
|
|
146
|
+
'max-nested-callbacks': "off";
|
|
147
|
+
'max-params': ["off", number];
|
|
148
|
+
'max-statements': ["off", number];
|
|
149
|
+
'@stylistic/max-statements-per-line': ["off", {
|
|
150
|
+
max: number;
|
|
151
|
+
}];
|
|
152
|
+
'@stylistic/multiline-comment-style': ["off", string];
|
|
153
|
+
'@stylistic/multiline-ternary': ["error", string];
|
|
154
|
+
'new-cap': ["error", {
|
|
155
|
+
newIsCap: boolean;
|
|
156
|
+
newIsCapExceptions: never[];
|
|
157
|
+
capIsNew: boolean;
|
|
158
|
+
capIsNewExceptions: string[];
|
|
159
|
+
}];
|
|
160
|
+
'@stylistic/new-parens': "error";
|
|
161
|
+
'@stylistic/newline-per-chained-call': ["error", {
|
|
162
|
+
ignoreChainWithDepth: number;
|
|
163
|
+
}];
|
|
164
|
+
'no-array-constructor': "error";
|
|
165
|
+
'no-bitwise': "error";
|
|
166
|
+
'no-continue': "error";
|
|
167
|
+
'no-inline-comments': "off";
|
|
168
|
+
'no-lonely-if': "error";
|
|
169
|
+
'@stylistic/no-mixed-operators': ["error", {
|
|
170
|
+
groups: string[][];
|
|
171
|
+
allowSamePrecedence: boolean;
|
|
172
|
+
}];
|
|
173
|
+
'@stylistic/no-mixed-spaces-and-tabs': "error";
|
|
174
|
+
'no-multi-assign': ["error"];
|
|
175
|
+
'@stylistic/no-multiple-empty-lines': ["error", {
|
|
176
|
+
max: number;
|
|
177
|
+
maxBOF: number;
|
|
178
|
+
maxEOF: number;
|
|
179
|
+
}];
|
|
180
|
+
'no-negated-condition': "off";
|
|
181
|
+
'no-nested-ternary': "error";
|
|
182
|
+
'no-object-constructor': "error";
|
|
183
|
+
'no-plusplus': "error";
|
|
184
|
+
'no-restricted-syntax': ["error", {
|
|
185
|
+
selector: string;
|
|
186
|
+
message: string;
|
|
187
|
+
}, {
|
|
188
|
+
selector: string;
|
|
189
|
+
message: string;
|
|
190
|
+
}, {
|
|
191
|
+
selector: string;
|
|
192
|
+
message: string;
|
|
193
|
+
}];
|
|
194
|
+
'@stylistic/no-tabs': "error";
|
|
195
|
+
'no-ternary': "off";
|
|
196
|
+
'@stylistic/no-trailing-spaces': ["error", {
|
|
197
|
+
skipBlankLines: boolean;
|
|
198
|
+
ignoreComments: boolean;
|
|
199
|
+
}];
|
|
200
|
+
'no-underscore-dangle': ["error", {
|
|
201
|
+
allow: never[];
|
|
202
|
+
allowAfterThis: boolean;
|
|
203
|
+
allowAfterSuper: boolean;
|
|
204
|
+
enforceInMethodNames: boolean;
|
|
205
|
+
}];
|
|
206
|
+
'no-unneeded-ternary': ["error", {
|
|
207
|
+
defaultAssignment: boolean;
|
|
208
|
+
}];
|
|
209
|
+
'@stylistic/no-whitespace-before-property': "error";
|
|
210
|
+
'@stylistic/nonblock-statement-body-position': ["error", string, {
|
|
211
|
+
overrides: {};
|
|
212
|
+
}];
|
|
213
|
+
'@stylistic/object-curly-spacing': ["error", string];
|
|
214
|
+
'@stylistic/object-curly-newline': ["error", {
|
|
215
|
+
ObjectExpression: {
|
|
216
|
+
minProperties: number;
|
|
217
|
+
multiline: boolean;
|
|
218
|
+
consistent: boolean;
|
|
219
|
+
};
|
|
220
|
+
ObjectPattern: {
|
|
221
|
+
minProperties: number;
|
|
222
|
+
multiline: boolean;
|
|
223
|
+
consistent: boolean;
|
|
224
|
+
};
|
|
225
|
+
ImportDeclaration: {
|
|
226
|
+
minProperties: number;
|
|
227
|
+
multiline: boolean;
|
|
228
|
+
consistent: boolean;
|
|
229
|
+
};
|
|
230
|
+
ExportDeclaration: {
|
|
231
|
+
minProperties: number;
|
|
232
|
+
multiline: boolean;
|
|
233
|
+
consistent: boolean;
|
|
234
|
+
};
|
|
235
|
+
}];
|
|
236
|
+
'@stylistic/object-property-newline': ["error", {
|
|
237
|
+
allowAllPropertiesOnSameLine: boolean;
|
|
238
|
+
}];
|
|
239
|
+
'one-var': ["error", string];
|
|
240
|
+
'@stylistic/one-var-declaration-per-line': ["error", string];
|
|
241
|
+
'operator-assignment': ["error", string];
|
|
242
|
+
'@stylistic/operator-linebreak': ["error", string, {
|
|
243
|
+
overrides: {
|
|
244
|
+
'=': string;
|
|
245
|
+
};
|
|
246
|
+
}];
|
|
247
|
+
'@stylistic/padded-blocks': ["error", {
|
|
248
|
+
blocks: string;
|
|
249
|
+
classes: string;
|
|
250
|
+
switches: string;
|
|
251
|
+
}, {
|
|
252
|
+
allowSingleLineBlocks: boolean;
|
|
253
|
+
}];
|
|
254
|
+
'@stylistic/padding-line-between-statements': "off";
|
|
255
|
+
'prefer-exponentiation-operator': "error";
|
|
256
|
+
'prefer-object-spread': "error";
|
|
257
|
+
'@stylistic/quote-props': ["error", string, {
|
|
258
|
+
keywords: boolean;
|
|
259
|
+
unnecessary: boolean;
|
|
260
|
+
numbers: boolean;
|
|
261
|
+
}];
|
|
262
|
+
'@stylistic/quotes': ["error", string, {
|
|
263
|
+
avoidEscape: boolean;
|
|
264
|
+
}];
|
|
265
|
+
'@stylistic/semi': ["error", string];
|
|
266
|
+
'@stylistic/semi-spacing': ["error", {
|
|
267
|
+
before: boolean;
|
|
268
|
+
after: boolean;
|
|
269
|
+
}];
|
|
270
|
+
'@stylistic/semi-style': ["error", string];
|
|
271
|
+
'sort-keys': ["off", string, {
|
|
272
|
+
caseSensitive: boolean;
|
|
273
|
+
natural: boolean;
|
|
274
|
+
}];
|
|
275
|
+
'sort-vars': "off";
|
|
276
|
+
'@stylistic/space-before-blocks': "error";
|
|
277
|
+
'@stylistic/space-before-function-paren': ["error", {
|
|
278
|
+
anonymous: string;
|
|
279
|
+
named: string;
|
|
280
|
+
asyncArrow: string;
|
|
281
|
+
}];
|
|
282
|
+
'@stylistic/space-in-parens': ["error", string];
|
|
283
|
+
'@stylistic/space-infix-ops': "error";
|
|
284
|
+
'@stylistic/space-unary-ops': ["error", {
|
|
285
|
+
words: boolean;
|
|
286
|
+
nonwords: boolean;
|
|
287
|
+
overrides: {};
|
|
288
|
+
}];
|
|
289
|
+
'@stylistic/spaced-comment': ["error", string, {
|
|
290
|
+
line: {
|
|
291
|
+
exceptions: string[];
|
|
292
|
+
markers: string[];
|
|
293
|
+
};
|
|
294
|
+
block: {
|
|
295
|
+
exceptions: string[];
|
|
296
|
+
markers: string[];
|
|
297
|
+
balanced: boolean;
|
|
298
|
+
};
|
|
299
|
+
}];
|
|
300
|
+
'@stylistic/switch-colon-spacing': ["error", {
|
|
301
|
+
after: boolean;
|
|
302
|
+
before: boolean;
|
|
303
|
+
}];
|
|
304
|
+
'@stylistic/template-tag-spacing': ["error", string];
|
|
305
|
+
'unicode-bom': ["error", string];
|
|
306
|
+
'@stylistic/wrap-regex': "off";
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
export default _default;
|
|
310
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/airbnb/style.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAwrB0B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
rules: {
|
|
4
|
+
'init-declarations': "off";
|
|
5
|
+
'no-delete-var': "error";
|
|
6
|
+
'no-label-var': "error";
|
|
7
|
+
'no-restricted-globals': ["error", {
|
|
8
|
+
name: string;
|
|
9
|
+
message: string;
|
|
10
|
+
}, {
|
|
11
|
+
name: string;
|
|
12
|
+
message: string;
|
|
13
|
+
}, ...{
|
|
14
|
+
name: "self" | "location" | "external" | "parent" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
|
|
15
|
+
message: string;
|
|
16
|
+
}[]];
|
|
17
|
+
'no-shadow': "error";
|
|
18
|
+
'no-shadow-restricted-names': "error";
|
|
19
|
+
'no-undef': "error";
|
|
20
|
+
'no-undef-init': "error";
|
|
21
|
+
'no-undefined': "off";
|
|
22
|
+
'no-unused-vars': ["error", {
|
|
23
|
+
vars: string;
|
|
24
|
+
args: string;
|
|
25
|
+
ignoreRestSiblings: boolean;
|
|
26
|
+
}];
|
|
27
|
+
'no-use-before-define': ["error", {
|
|
28
|
+
functions: boolean;
|
|
29
|
+
classes: boolean;
|
|
30
|
+
variables: boolean;
|
|
31
|
+
}];
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/airbnb/variables.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAqE0B"}
|