@frontify/eslint-config-basic 0.19.0-next.4 → 0.19.0-next.5

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/index.js +1 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -63,15 +63,13 @@ module.exports = {
63
63
  // the standard eslint rule for unused variables and use the @typescript-eslint rule instead.
64
64
  // See here: https://typescript-eslint.io/rules/no-unused-vars/
65
65
  'no-unused-vars': 'off',
66
- '@typescript-eslint/no-unused-vars': 'error',
66
+ '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
67
67
 
68
68
  // Allow overload of functions: https://typescript-eslint.io/rules/no-dupe-class-members/
69
69
  'no-dupe-class-members': 'off',
70
70
  '@typescript-eslint/no-dupe-class-members': 'error',
71
71
 
72
72
  '@typescript-eslint/no-explicit-any': 'warn',
73
- 'no-throw-literal': 'off',
74
- '@typescript-eslint/no-throw-literal': 'error',
75
73
  'no-implied-eval': 'off',
76
74
  '@typescript-eslint/no-implied-eval': 'error',
77
75
  'dot-notation': 'off',
@@ -87,7 +85,6 @@ module.exports = {
87
85
  '@typescript-eslint/restrict-plus-operands': 'error',
88
86
  '@typescript-eslint/restrict-template-expressions': 'error',
89
87
  '@typescript-eslint/unbound-method': 'off',
90
- '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
91
88
  '@typescript-eslint/consistent-type-imports': [
92
89
  'error',
93
90
  { prefer: 'type-imports', fixStyle: 'inline-type-imports' },
@@ -256,16 +253,12 @@ module.exports = {
256
253
  // Eslint prettier
257
254
  'prettier/prettier': 'error',
258
255
  'arrow-body-style': 'off', // Problematic with Prettier
259
- 'prefer-arrow-callback': 'off', // Problematic with Prettier
260
256
 
261
257
  // Eslint (base)
262
258
  'linebreak-style': ['error', 'unix'],
263
259
  'prefer-template': 'error',
264
260
  'template-curly-spacing': 'error',
265
- 'no-useless-concat': 'error',
266
- 'prefer-arrow-callback': 'error',
267
261
  'no-var': 'error',
268
- 'prefer-const': 'error',
269
262
  eqeqeq: 'error',
270
263
  'no-eval': 'error',
271
264
  'no-extra-bind': 'error',
@@ -287,9 +280,7 @@ module.exports = {
287
280
  'no-case-declarations': 'error',
288
281
  'no-multi-spaces': 'error',
289
282
  'no-multi-str': 'error',
290
- 'no-with': 'error',
291
283
  'no-void': 'error',
292
- 'no-useless-escape': 'off',
293
284
  'no-invalid-this': 'error',
294
285
  'require-await': 'off',
295
286
  'no-return-assign': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/eslint-config-basic",
3
- "version": "0.19.0-next.4",
3
+ "version": "0.19.0-next.5",
4
4
  "author": "Frontify Developers <developers@frontify.com>",
5
5
  "license": "MIT",
6
6
  "repository": {