eslint-config-makeable 5.0.0 → 5.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.
package/.eslintrc.js CHANGED
@@ -9,7 +9,7 @@ module.exports = {
9
9
  "env": {
10
10
  "browser": true,
11
11
  "node": true
12
- },
12
+ },
13
13
  "rules": {
14
14
  "prettier/prettier": [
15
15
  "error",
@@ -39,6 +39,7 @@ module.exports = {
39
39
  "no-plusplus": 0,
40
40
  "prefer-destructuring": 0,
41
41
  "no-param-reassign": 0,
42
+ "import/extensions": 0,
42
43
  "spaced-comment": 1,
43
44
  "no-case-declarations": 1,
44
45
  "import/no-extraneous-dependencies": [
@@ -50,10 +51,11 @@ module.exports = {
50
51
  }
51
52
  ],
52
53
  "no-unused-vars": [
53
- 1, {
54
- "ignoreSiblings": true,
55
- "argsIgnorePattern": "context|res|next|error|e"
56
- }
54
+ 1,
55
+ {
56
+ "ignoreRestSiblings": true,
57
+ "argsIgnorePattern": 'res|next|^err',
58
+ },
57
59
  ],
58
60
  "consistent-return": 1,
59
61
  "no-multiple-empty-lines": 1,
@@ -61,8 +63,11 @@ module.exports = {
61
63
  "import/first": 1,
62
64
  "camelcase": 1,
63
65
  "prefer-const": 1,
66
+ "import/no-dynamic-require": 1,
67
+ "guard-for-in": 1,
68
+ "vue/singleline-html-element-content-newline": 0,
64
69
  "vue/html-indent": 0,
65
70
  "vue/max-attributes-per-line": 0,
66
71
  "vue/html-self-closing": 0
67
72
  }
68
- }
73
+ }
@@ -1,36 +1,11 @@
1
1
  {
2
- "eslint.autoFixOnSave": true,
3
- "eslint.validate": [
4
- "javascript",
5
- "javascriptreact",
6
- {
7
- "language": "typescript",
8
- "autoFix": true
9
- },
10
- {
11
- "language": "typescriptreact",
12
- "autoFix": true
13
- },
14
- {
15
- "language": "vue",
16
- "autoFix": true
17
- }
18
- ],
19
2
  "editor.formatOnSave": true,
20
3
  "[javascript]": {
21
- "editor.formatOnSave": false,
4
+ "editor.formatOnSave": true
22
5
  },
23
- "[javascriptreact]": {
24
- "editor.formatOnSave": false,
6
+ "eslint.alwaysShowStatus": true,
7
+ "editor.codeActionsOnSave": {
8
+ "source.fixAll": true
25
9
  },
26
- "[typescript]": {
27
- "editor.formatOnSave": false,
28
- },
29
- "[typescriptreact]": {
30
- "editor.formatOnSave": false,
31
- },
32
- "[vue]": {
33
- "editor.formatOnSave": false,
34
- },
35
- "prettier.disableLanguages": ["javascript", "typescript"]
10
+ "prettier.enable": false
36
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-makeable",
3
- "version": "5.0.0",
3
+ "version": "5.3.0",
4
4
  "description": "ESlint config for Makeable's Typescript projects",
5
5
  "keywords": [
6
6
  "javascript",
@@ -14,8 +14,8 @@
14
14
  "main": "index.js",
15
15
  "author": "Lasse Borgen <lasse@makeable.dk>",
16
16
  "dependencies": {
17
- "@typescript-eslint/eslint-plugin": "^1.7.0",
18
- "@typescript-eslint/parser": "^1.7.0",
17
+ "@typescript-eslint/eslint-plugin": "^4.13.0",
18
+ "@typescript-eslint/parser": "^4.13.0",
19
19
  "eslint": "^5.16.0",
20
20
  "eslint-config-airbnb": "^17.1.0",
21
21
  "eslint-config-prettier": "^4.2.0",
@@ -24,10 +24,10 @@
24
24
  "eslint-plugin-prettier": "^3.0.1",
25
25
  "eslint-plugin-react": "^7.13.0",
26
26
  "eslint-plugin-vue": "^5.2.3",
27
- "prettier": "^1.17.0"
27
+ "prettier": "^1.18.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "typescript": "^3.1.6"
30
+ "typescript": "^4.7"
31
31
  },
32
32
  "scripts": {
33
33
  "lint": "eslint --ext .ts,.js,.vue src/",