@wistia/eslint-config 0.6.2 → 0.6.3-beta.1d8d1744.f5aaa40
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/base.js +1 -1
- package/package.json +21 -20
- package/react.js +3 -1
- package/sonar.js +2 -2
package/base.js
CHANGED
|
@@ -3,7 +3,7 @@ const commonRules = require('./eslintRules/common');
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
parser: '@babel/eslint-parser',
|
|
5
5
|
plugins: ['eslint-plugin-prettier'],
|
|
6
|
-
extends: ['eslint-config-airbnb-base', 'eslint-config-prettier'],
|
|
6
|
+
extends: ['eslint-config-airbnb-base', 'eslint-config-prettier'].map(require.resolve),
|
|
7
7
|
rules: {
|
|
8
8
|
...commonRules,
|
|
9
9
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/eslint-config",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3-beta.1d8d1744.f5aaa40",
|
|
4
4
|
"description": "Wistia's ESLint configurations",
|
|
5
5
|
"main": "react.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,44 +9,45 @@
|
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/core": "^7.
|
|
13
|
-
"@babel/eslint-parser": "^7.
|
|
14
|
-
"@babel/preset-react": "^7.
|
|
15
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
16
|
-
"@typescript-eslint/parser": "^5.30.
|
|
12
|
+
"@babel/core": "^7.18.9",
|
|
13
|
+
"@babel/eslint-parser": "^7.18.9",
|
|
14
|
+
"@babel/preset-react": "^7.18.6",
|
|
15
|
+
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
|
16
|
+
"@typescript-eslint/parser": "^5.30.7",
|
|
17
17
|
"confusing-browser-globals": "^1.0.11",
|
|
18
|
-
"eslint": "^8.
|
|
18
|
+
"eslint": "^8.20.0",
|
|
19
19
|
"eslint-config-airbnb": "^19.0.4",
|
|
20
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
20
21
|
"eslint-config-prettier": "^8.5.0",
|
|
21
22
|
"eslint-plugin-better-styled-components": "^1.1.2",
|
|
22
23
|
"eslint-plugin-cypress": "^2.12.1",
|
|
23
24
|
"eslint-plugin-import": "^2.26.0",
|
|
24
|
-
"eslint-plugin-jest": "^26.
|
|
25
|
-
"eslint-plugin-jest-dom": "^4.0.
|
|
25
|
+
"eslint-plugin-jest": "^26.6.0",
|
|
26
|
+
"eslint-plugin-jest-dom": "^4.0.2",
|
|
26
27
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
27
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
28
|
-
"eslint-plugin-prettier": "^4.
|
|
29
|
-
"eslint-plugin-react": "^7.
|
|
30
|
-
"eslint-plugin-react-hooks": "^4.
|
|
28
|
+
"eslint-plugin-jsx-a11y": "^6.6.0",
|
|
29
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
30
|
+
"eslint-plugin-react": "^7.30.1",
|
|
31
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
31
32
|
"eslint-plugin-sonarjs": "^0.13.0",
|
|
32
33
|
"eslint-plugin-styled-components-a11y": "^0.0.40",
|
|
33
|
-
"eslint-plugin-testing-library": "^5.
|
|
34
|
-
"postcss": "^8.4.
|
|
34
|
+
"eslint-plugin-testing-library": "^5.5.1",
|
|
35
|
+
"postcss": "^8.4.14",
|
|
35
36
|
"postcss-scss": "^4.0.4",
|
|
36
|
-
"prettier": "^2.
|
|
37
|
-
"stylelint": "^14.
|
|
37
|
+
"prettier": "^2.7.1",
|
|
38
|
+
"stylelint": "^14.9.1",
|
|
38
39
|
"stylelint-config-prettier": "^9.0.3",
|
|
39
40
|
"stylelint-config-standard": "^26.0.0",
|
|
40
41
|
"stylelint-config-standard-scss": "^5.0.0",
|
|
41
42
|
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
|
|
42
43
|
"stylelint-prettier": "^2.0.0",
|
|
43
44
|
"stylelint-processor-styled-components": "^1.10.0",
|
|
44
|
-
"stylelint-scss": "^4.
|
|
45
|
+
"stylelint-scss": "^4.3.0",
|
|
45
46
|
"typescript": "^4.7.4"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@commitlint/cli": "^17.0.
|
|
49
|
-
"@commitlint/config-conventional": "^17.0.
|
|
49
|
+
"@commitlint/cli": "^17.0.3",
|
|
50
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
50
51
|
"husky": "^8.0.1"
|
|
51
52
|
},
|
|
52
53
|
"engines": {
|
package/react.js
CHANGED
|
@@ -5,7 +5,9 @@ const reactRules = require('./eslintRules/react');
|
|
|
5
5
|
module.exports = {
|
|
6
6
|
parser: '@babel/eslint-parser',
|
|
7
7
|
plugins: ['eslint-plugin-prettier'],
|
|
8
|
-
extends: ['eslint-config-airbnb', 'eslint-config-airbnb/hooks', 'eslint-config-prettier']
|
|
8
|
+
extends: ['eslint-config-airbnb', 'eslint-config-airbnb/hooks', 'eslint-config-prettier'].map(
|
|
9
|
+
require.resolve,
|
|
10
|
+
),
|
|
9
11
|
env: {
|
|
10
12
|
browser: true,
|
|
11
13
|
},
|