@mediatool/eslint-config-mediatool 1.1.13 → 1.3.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.
Files changed (2) hide show
  1. package/.eslintrc.js +2 -1
  2. package/package.json +10 -10
package/.eslintrc.js CHANGED
@@ -128,12 +128,13 @@ const typescriptRules = {
128
128
  },
129
129
  },
130
130
  ],
131
+ '@typescript-eslint/consistent-type-imports': 'error',
131
132
  }
132
133
 
133
134
  module.exports = {
134
135
  overrides: [
135
136
  {
136
- files: [ '*.js', '*.jsx' ],
137
+ files: [ '*.js', '*.jsx', '*.mjs', '*.cjs' ],
137
138
  extends: 'airbnb',
138
139
  plugins: [ 'mocha', 'react' ],
139
140
  rules: javascriptRules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediatool/eslint-config-mediatool",
3
- "version": "1.1.13",
3
+ "version": "1.3.0",
4
4
  "main": ".eslintrc.js",
5
5
  "scripts": {
6
6
  "pretest": "yarn",
@@ -8,19 +8,19 @@
8
8
  "test": "yarn lint"
9
9
  },
10
10
  "dependencies": {
11
- "@typescript-eslint/eslint-plugin": "^5.42.1",
12
- "@typescript-eslint/parser": "^5.42.1",
13
- "eslint": "^8.27.0",
11
+ "@typescript-eslint/eslint-plugin": "^5.44.0",
12
+ "@typescript-eslint/parser": "^5.44.0",
13
+ "eslint": "^8.28.0",
14
14
  "eslint-config-airbnb": "^19.0.4",
15
15
  "eslint-config-airbnb-typescript": "^16.1.2",
16
- "eslint-plugin-import": "^2.25.4",
17
- "eslint-plugin-jsx-a11y": "^6.5.1",
18
- "eslint-plugin-mocha": "^10.0.3",
19
- "eslint-plugin-react": "^7.29.4",
20
- "typescript": "^4.8.4"
16
+ "eslint-plugin-import": "^2.26.0",
17
+ "eslint-plugin-jsx-a11y": "^6.6.1",
18
+ "eslint-plugin-mocha": "^10.1.0",
19
+ "eslint-plugin-react": "^7.31.11",
20
+ "typescript": "^4.9.3"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/react": "^18.0.14",
23
+ "@types/react": "^18.0.25",
24
24
  "react": "^18.2.0"
25
25
  }
26
26
  }