@voiceflow/eslint-config 3.2.1 → 3.5.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/.eslintrc.js +1 -1
- package/config/import.js +1 -0
- package/overrides/monorepo.js +1 -1
- package/package.json +23 -24
- package/typescript.js +2 -0
package/.eslintrc.js
CHANGED
package/config/import.js
CHANGED
package/overrides/monorepo.js
CHANGED
|
@@ -7,7 +7,7 @@ module.exports = (rootDir = process.cwd(), workspace = 'packages') => {
|
|
|
7
7
|
|
|
8
8
|
return packages.map((pkg) => ({
|
|
9
9
|
files: [`${workspace}/${pkg}/**/*`],
|
|
10
|
-
extends: ['
|
|
10
|
+
extends: ['@voiceflow/eslint-config/typescript'],
|
|
11
11
|
settings: {
|
|
12
12
|
'import/resolver': {
|
|
13
13
|
typescript: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/eslint-config",
|
|
3
3
|
"description": "ESLint config for voiceflow",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"author": "Eric Hacke",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/eslint-config/issues"
|
|
@@ -12,45 +12,44 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
16
|
-
"@typescript-eslint/parser": "^4.
|
|
15
|
+
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
|
16
|
+
"@typescript-eslint/parser": "^4.31.0",
|
|
17
17
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
18
|
-
"eslint-config-prettier": "^8.
|
|
19
|
-
"eslint-import-resolver-typescript": "^2.
|
|
20
|
-
"eslint-plugin-compat": "^3.
|
|
21
|
-
"eslint-plugin-cypress": "^2.11.
|
|
18
|
+
"eslint-config-prettier": "^8.3.0",
|
|
19
|
+
"eslint-import-resolver-typescript": "^2.5.0",
|
|
20
|
+
"eslint-plugin-compat": "^3.13.0",
|
|
21
|
+
"eslint-plugin-cypress": "^2.11.3",
|
|
22
22
|
"eslint-plugin-eslint-comments": "^3.1.1",
|
|
23
23
|
"eslint-plugin-filenames": "^1.3.2",
|
|
24
|
-
"eslint-plugin-import": "^2.
|
|
25
|
-
"eslint-plugin-jest": "^24.
|
|
24
|
+
"eslint-plugin-import": "^2.24.2",
|
|
25
|
+
"eslint-plugin-jest": "^24.4.0",
|
|
26
26
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
27
|
-
"eslint-plugin-lodash": "^7.
|
|
28
|
-
"eslint-plugin-mocha": "^
|
|
27
|
+
"eslint-plugin-lodash": "^7.3.0",
|
|
28
|
+
"eslint-plugin-mocha": "^9.0.0",
|
|
29
29
|
"eslint-plugin-no-secrets": "^0.8.9",
|
|
30
|
-
"eslint-plugin-optimize-regex": "^1.2.
|
|
30
|
+
"eslint-plugin-optimize-regex": "^1.2.1",
|
|
31
31
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
32
|
-
"eslint-plugin-prettier": "^
|
|
33
|
-
"eslint-plugin-promise": "^
|
|
34
|
-
"eslint-plugin-react": "^7.
|
|
32
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
33
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
34
|
+
"eslint-plugin-react": "^7.25.1",
|
|
35
35
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
36
36
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
37
|
-
"eslint-plugin-sonarjs": "^0.
|
|
37
|
+
"eslint-plugin-sonarjs": "^0.10.0",
|
|
38
38
|
"eslint-plugin-xss": "^0.1.9",
|
|
39
|
-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.
|
|
39
|
+
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@voiceflow/commitlint-config": "^1.0
|
|
43
|
-
"@voiceflow/eslint-config": "^3.1.0",
|
|
42
|
+
"@voiceflow/commitlint-config": "^1.1.0",
|
|
44
43
|
"@voiceflow/git-branch-check": "^1.2.0",
|
|
45
44
|
"@voiceflow/prettier-config": "^1.0.5",
|
|
46
45
|
"commitizen": "^4.2.4",
|
|
47
|
-
"commitlint": "^
|
|
46
|
+
"commitlint": "^13.1.0",
|
|
48
47
|
"cz-conventional-changelog": "^3.3.0",
|
|
49
|
-
"eslint": "^7.
|
|
48
|
+
"eslint": "^7.32.0",
|
|
50
49
|
"fixpack": "^4.0.0",
|
|
51
|
-
"husky": "^
|
|
52
|
-
"lint-staged": "^11.
|
|
53
|
-
"prettier": "^2.
|
|
50
|
+
"husky": "^7.0.2",
|
|
51
|
+
"lint-staged": "^11.1.2",
|
|
52
|
+
"prettier": "^2.4.0"
|
|
54
53
|
},
|
|
55
54
|
"files": [
|
|
56
55
|
"*.js",
|