@eclipse-scout/eslint-config 23.1.19 → 23.2.2

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": "@eclipse-scout/eslint-config",
3
- "version": "23.1.19",
3
+ "version": "23.2.2",
4
4
  "description": "ESLint shareable config for the Scout style",
5
5
  "author": "BSI Business Systems Integration AG",
6
6
  "homepage": "https://www.eclipse.org/scout",
@@ -43,7 +43,7 @@
43
43
  "eslint": "8.27.0"
44
44
  },
45
45
  "dependencies": {
46
- "typescript": "4.9.3",
46
+ "typescript": "4.9.5",
47
47
  "@typescript-eslint/parser": "5.43.0",
48
48
  "@typescript-eslint/eslint-plugin": "5.43.0"
49
49
  },
package/src/common.js CHANGED
@@ -52,7 +52,7 @@ module.exports = {
52
52
  'no-else-return': 'error',
53
53
  'max-len': ['warn', 240, 2, {ignoreUrls: true, ignorePattern: '^import .*'}],
54
54
  'semi': ['error', 'always'],
55
- 'quotes': ['error', 'single'],
55
+ 'quotes': ['warn', 'single'],
56
56
  'comma-dangle': ['error', 'never'],
57
57
  'object-curly-spacing': ['error', 'never'],
58
58
  'operator-linebreak': 'off',
package/src/index.js CHANGED
@@ -39,7 +39,7 @@ module.exports = {
39
39
  '@typescript-eslint/member-delimiter-style': 'warn', // Enforce semicolon for interface members for consistency,
40
40
  '@typescript-eslint/no-this-alias': 'off', // Allow assigment of this to a variable, e.g. for better readability. 'That' and 'self' are not used often anymore.
41
41
  'indent': 'off', // Disable because it will be replaced by the following ts rule
42
- '@typescript-eslint/indent': ['error', 2, {'SwitchCase': 1, 'ignoredNodes': ['PropertyDefinition[decorators]']}], // Workarounds bug https://github.com/typescript-eslint/typescript-eslint/issues/1824. See also https://github.com/eslint/eslint/issues/15299#issuecomment-967762181
42
+ '@typescript-eslint/indent': ['warn', 2, {'SwitchCase': 1, 'ignoredNodes': ['PropertyDefinition[decorators]']}], // Workarounds bug https://github.com/typescript-eslint/typescript-eslint/issues/1824. See also https://github.com/eslint/eslint/issues/15299#issuecomment-967762181. Also change to warn because indent errors are not critical.
43
43
  'linebreak-style': 'off',
44
44
  '@typescript-eslint/prefer-ts-expect-error': 'warn',
45
45
  '@typescript-eslint/no-empty-function': 'off'