@gtvmbh/eslint-config 1.1.0 → 1.1.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": "@gtvmbh/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "ESLint configurations for various project types developed by Gesellschaft für Technische Visualistik",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/default.js CHANGED
@@ -113,7 +113,7 @@ module.exports = {
113
113
  'id-blacklist': 'off',
114
114
  'id-length': 'off',
115
115
  'id-match': 'off',
116
- 'implicit-arrow-linebreak': ["error", "beside"],
116
+ 'implicit-arrow-linebreak': "off",
117
117
  'indent': ["error", 2, { "SwitchCase": 1 }],
118
118
  'jsx-quotes': ['error', 'prefer-double'],
119
119
  'key-spacing': ['error', {
package/src/typescript.js CHANGED
@@ -293,8 +293,8 @@ module.exports = {
293
293
  '@typescript-eslint/no-empty-function': 'off',
294
294
 
295
295
  // Disallow unnecessary parentheses
296
- 'no-extra-parens': 'off',
297
- '@typescript-eslint/no-extra-parens': ['warn', 'all', { 'nestedBinaryExpressions': false }],
296
+ "no-extra-parens": "off",
297
+ "@typescript-eslint/no-extra-parens": ["warn", "all", { "conditionalAssign": false , "returnAssign": false, "nestedBinaryExpressions": false }],
298
298
 
299
299
  // Disallow unnecessary semicolons
300
300
  'no-extra-semi': 'off',
package/src/vidala.js CHANGED
@@ -1,5 +1,12 @@
1
1
  module.exports = {
2
2
  rules: {
3
- 'no-restricted-imports': ['error', { 'patterns': ['ViDaLa/*'] }]
3
+ 'no-restricted-imports': ['error', {
4
+ 'patterns': [{
5
+ "group": ['ViDaLa/*'],
6
+ "caseSensitive": true
7
+ }]
8
+ }],
9
+ '@typescript-eslint/unbound-method': 'off',
10
+ 'prefer-named-capture-group': 'off',
4
11
  }
5
12
  };