@robinblomberg/eslint-config-robinblomberg 0.8.2 → 0.8.3

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 +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -363,8 +363,7 @@ module.exports = {
363
363
  '@typescript-eslint/restrict-plus-operands': warn,
364
364
  // Disabled due to false positives:
365
365
  '@typescript-eslint/restrict-template-expressions': off,
366
- // Disabled due to requiring parserServices:
367
- '@typescript-eslint/return-await': [off, 'always'],
366
+ '@typescript-eslint/return-await': [warn, 'always'],
368
367
  '@typescript-eslint/semi': [warn, 'always'],
369
368
  '@typescript-eslint/space-before-function-paren': [warn, 'always'],
370
369
  '@typescript-eslint/strict-boolean-expressions': off,
@@ -738,6 +737,13 @@ module.exports = {
738
737
  'jsdoc/require-jsdoc': off,
739
738
  },
740
739
  },
740
+ {
741
+ files: ['**/*.config.js', '**/*.config.ts'],
742
+ rules: {
743
+ '@typescript-eslint/no-magic-numbers': off,
744
+ 'no-magic-numbers': off,
745
+ },
746
+ },
741
747
  {
742
748
  files: [
743
749
  '**/*.stories.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "author": "Robin Blomberg",
5
5
  "main": "index.js",
6
6
  "repository": {