@mediatool/eslint-config-mediatool 1.1.11 → 1.1.13

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.
Files changed (2) hide show
  1. package/.eslintrc.js +4 -4
  2. package/package.json +5 -5
package/.eslintrc.js CHANGED
@@ -34,7 +34,8 @@ const javascriptRules = {
34
34
  '**/scripts/**/*.*',
35
35
  '**/stories/**/*.*',
36
36
  '**/sandbox/**/*.*',
37
- '**/rollup.config.js',
37
+ '**/rollup.config.*',
38
+ '**/vite.config.*',
38
39
  ],
39
40
  },
40
41
  ],
@@ -75,7 +76,7 @@ const javascriptRules = {
75
76
  'react/require-default-props': 'off',
76
77
  'react/jsx-no-useless-fragment': [
77
78
  'error',
78
- { allowExpressions: true }
79
+ { allowExpressions: true },
79
80
  ],
80
81
  semi: [ 'error', 'never' ],
81
82
  'sort-imports': [ 'warn', { ignoreDeclarationSort: true } ],
@@ -169,7 +170,7 @@ module.exports = {
169
170
  },
170
171
  },
171
172
  {
172
- files: [ 'demo/*.*' ],
173
+ files: [ 'demo/**/*.*', 'sandbox/**/*.*' ],
173
174
  rules: {
174
175
  'no-console': 'off',
175
176
  },
@@ -178,7 +179,6 @@ module.exports = {
178
179
  files: [ 'features/step_definitions/*.*', 'test/**/*.*' ],
179
180
  rules: {
180
181
  'prefer-arrow-callback': 'off',
181
- 'import/no-extraneous-dependencies': 'off',
182
182
  },
183
183
  },
184
184
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediatool/eslint-config-mediatool",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "main": ".eslintrc.js",
5
5
  "scripts": {
6
6
  "pretest": "yarn",
@@ -8,16 +8,16 @@
8
8
  "test": "yarn lint"
9
9
  },
10
10
  "dependencies": {
11
- "@typescript-eslint/eslint-plugin": "^5.14.0",
12
- "@typescript-eslint/parser": "^5.14.0",
13
- "eslint": "^8.11.0",
11
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
12
+ "@typescript-eslint/parser": "^5.42.1",
13
+ "eslint": "^8.27.0",
14
14
  "eslint-config-airbnb": "^19.0.4",
15
15
  "eslint-config-airbnb-typescript": "^16.1.2",
16
16
  "eslint-plugin-import": "^2.25.4",
17
17
  "eslint-plugin-jsx-a11y": "^6.5.1",
18
18
  "eslint-plugin-mocha": "^10.0.3",
19
19
  "eslint-plugin-react": "^7.29.4",
20
- "typescript": "^4.6.2"
20
+ "typescript": "^4.8.4"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/react": "^18.0.14",