@repodog/eslint-config 1.1.0-alpha.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.
Files changed (2) hide show
  1. package/index.cjs +7 -4
  2. package/package.json +2 -2
package/index.cjs CHANGED
@@ -111,10 +111,7 @@ module.exports = {
111
111
  2,
112
112
  { args: 'all', argsIgnorePattern: '^_', ignoreRestSiblings: true, vars: 'all' },
113
113
  ],
114
- '@typescript-eslint/no-use-before-define': [
115
- 2,
116
- { enums: true, functions: false, ignoreTypeReferences: true, typedefs: false },
117
- ],
114
+ '@typescript-eslint/no-use-before-define': 0,
118
115
  'import/no-named-as-default': 0,
119
116
  'import/no-named-as-default-member': 0,
120
117
  'no-use-before-define': 0,
@@ -305,6 +302,12 @@ module.exports = {
305
302
  },
306
303
  },
307
304
  ],
305
+ 'unicorn/prevent-abbreviations': [
306
+ 2,
307
+ {
308
+ ignore: [/.*dev.*/i, /.*params.*/i, /.*props.*/i],
309
+ },
310
+ ],
308
311
  },
309
312
  settings: {
310
313
  react: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@repodog/eslint-config",
3
3
  "description": "The RepoDog ESLint config module.",
4
- "version": "1.1.0-alpha.0",
4
+ "version": "1.1.2",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/repodog",
@@ -32,6 +32,6 @@
32
32
  "eslint-plugin-sort-destructure-keys": "<2",
33
33
  "eslint-plugin-sort-keys-fix": "<2",
34
34
  "eslint-plugin-typescript-sort-keys": "<3",
35
- "eslint-plugin-unicorn": "<46"
35
+ "eslint-plugin-unicorn": "<47"
36
36
  }
37
37
  }