@mediatool/eslint-config-mediatool 1.1.10 → 1.1.12

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 +3 -3
  2. package/package.json +5 -5
package/.eslintrc.js CHANGED
@@ -33,6 +33,7 @@ const javascriptRules = {
33
33
  '**/lib/**/*-stories.*',
34
34
  '**/scripts/**/*.*',
35
35
  '**/stories/**/*.*',
36
+ '**/sandbox/**/*.*',
36
37
  '**/rollup.config.js',
37
38
  ],
38
39
  },
@@ -74,7 +75,7 @@ const javascriptRules = {
74
75
  'react/require-default-props': 'off',
75
76
  'react/jsx-no-useless-fragment': [
76
77
  'error',
77
- { allowExpressions: true }
78
+ { allowExpressions: true },
78
79
  ],
79
80
  semi: [ 'error', 'never' ],
80
81
  'sort-imports': [ 'warn', { ignoreDeclarationSort: true } ],
@@ -168,7 +169,7 @@ module.exports = {
168
169
  },
169
170
  },
170
171
  {
171
- files: [ 'demo/*.*' ],
172
+ files: [ 'demo/**/*.*', 'sandbox/**/*.*' ],
172
173
  rules: {
173
174
  'no-console': 'off',
174
175
  },
@@ -177,7 +178,6 @@ module.exports = {
177
178
  files: [ 'features/step_definitions/*.*', 'test/**/*.*' ],
178
179
  rules: {
179
180
  'prefer-arrow-callback': 'off',
180
- 'import/no-extraneous-dependencies': 'off',
181
181
  },
182
182
  },
183
183
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediatool/eslint-config-mediatool",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
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",