eslint-config-entva-typescript-base 2.9.0 → 2.11.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/index.js +7 -5
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -74,6 +74,13 @@ export default [
|
|
|
74
74
|
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
|
|
75
75
|
'import/core-modules': [],
|
|
76
76
|
'import/ignore': ['node_modules', '\\.(coffee|scss|css|less|hbs|svg|json)$'],
|
|
77
|
+
|
|
78
|
+
react: {
|
|
79
|
+
pragma: 'React',
|
|
80
|
+
version: 'detect',
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
propWrapperFunctions: ['forbidExtraProps', 'exact', 'Object.freeze'],
|
|
77
84
|
},
|
|
78
85
|
|
|
79
86
|
rules: {
|
|
@@ -162,11 +169,6 @@ export default [
|
|
|
162
169
|
enforceForArrowConditionals: false,
|
|
163
170
|
}],
|
|
164
171
|
|
|
165
|
-
'@stylistic/ts/type-annotation-spacing': ['error', {
|
|
166
|
-
before: false,
|
|
167
|
-
after: true,
|
|
168
|
-
}],
|
|
169
|
-
|
|
170
172
|
'@stylistic/ts/member-delimiter-style': ['error', {
|
|
171
173
|
multiline: {
|
|
172
174
|
delimiter: 'comma',
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/entva/styleguide"
|
|
10
10
|
},
|
|
11
11
|
"bugs": "https://github.com/entva/styleguide/issues",
|
|
12
|
-
"version": "2.
|
|
12
|
+
"version": "2.11.0",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"linter",
|
|
15
15
|
"config",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@stylistic/eslint-plugin-ts": "^2.12.1",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
33
33
|
"@typescript-eslint/parser": "^8.18.0",
|
|
34
|
-
"eslint-config-entva-base": "^2.
|
|
34
|
+
"eslint-config-entva-base": "^2.11.0",
|
|
35
35
|
"eslint-plugin-import": "^2.31.0",
|
|
36
36
|
"globals": "^15.13.0"
|
|
37
37
|
},
|