eslint-config-greenpie 5.6.2 → 5.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-greenpie",
3
- "version": "5.6.2",
3
+ "version": "5.8.0",
4
4
  "description": "GreenPie's ESLint config file",
5
5
  "main": "index.js",
6
6
  "author": "Roman Nuritdinov (Ky6uk)",
@@ -31,13 +31,13 @@
31
31
  "vue"
32
32
  ],
33
33
  "peerDependencies": {
34
- "@typescript-eslint/eslint-plugin": "^5.38.0",
35
- "@typescript-eslint/parser": "^5.38.0",
36
- "eslint": "^8.23.1",
37
- "eslint-plugin-jest": "^27.0.4",
38
- "eslint-plugin-vue": "^9.5.1"
34
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
35
+ "@typescript-eslint/parser": "^5.39.0",
36
+ "eslint": "^8.24.0",
37
+ "eslint-plugin-jest": "^27.1.0",
38
+ "eslint-plugin-vue": "^9.6.0"
39
39
  },
40
40
  "devDependencies": {
41
- "eslint": "^8.23.1"
41
+ "eslint": "^8.24.0"
42
42
  }
43
43
  }
package/rules/base.js CHANGED
@@ -114,6 +114,7 @@ module.exports = {
114
114
 
115
115
  'id-match': 'error',
116
116
  'init-declarations': 'error',
117
+ 'logical-assignment-operators': 'error',
117
118
  'max-classes-per-file': 'error',
118
119
  'max-depth': 'error',
119
120
 
package/rules/jest.js CHANGED
@@ -32,6 +32,7 @@ module.exports = {
32
32
  'jest/no-jasmine-globals': 'error',
33
33
  'jest/no-large-snapshots': 'error',
34
34
  'jest/no-mocks-import': 'error',
35
+ 'jest/no-restricted-jest-methods': 'off',
35
36
 
36
37
  /**
37
38
  * This rule should be used with exact list of matchers
package/rules/vue.js CHANGED
@@ -123,7 +123,12 @@ module.exports = {
123
123
 
124
124
  'vue/attribute-hyphenation': 'error',
125
125
  'vue/component-definition-name-casing': 'error',
126
- 'vue/first-attribute-linebreak': 'error',
126
+
127
+ 'vue/first-attribute-linebreak': ['error', {
128
+ singleline: 'beside',
129
+ multiline: 'below'
130
+ }],
131
+
127
132
  'vue/html-closing-bracket-newline': 'error',
128
133
  'vue/html-closing-bracket-spacing': 'error',
129
134
  'vue/html-end-tags': 'error',
@@ -199,6 +204,7 @@ module.exports = {
199
204
  'vue/no-multiple-objects-in-class': 'error',
200
205
  'vue/no-potential-component-option-typo': 'error',
201
206
  'vue/no-ref-object-destructure': 'error',
207
+ 'vue/no-required-prop-with-default': 'error',
202
208
  'vue/no-restricted-block': 'error',
203
209
  'vue/no-restricted-call-after-await': 'error',
204
210
  'vue/no-restricted-class': 'error',