@lusc/eslint-config 2.0.0 → 2.0.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.js +4 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -8,11 +8,13 @@ import eslintPluginUnicorn from 'eslint-plugin-unicorn';
8
8
  import globals from 'globals';
9
9
  import {configs as tsConfigs} from 'typescript-eslint';
10
10
 
11
- const ignores = ['dist/**', '.svelte-kit/**', 'build/**'];
11
+ const ignores = ['**/dist/', '**/.svelte-kit/', '**/build/'];
12
12
 
13
13
  export default [
14
14
  {
15
15
  ignores,
16
+ },
17
+ {
16
18
  languageOptions: {
17
19
  globals: {
18
20
  ...globals.browser,
@@ -48,10 +50,6 @@ export default [
48
50
  caughtErrorsIgnorePattern: /^_$/.source,
49
51
  },
50
52
  ],
51
- },
52
- },
53
- {
54
- rules: {
55
53
  'promise/prefer-await-to-then': 'error',
56
54
  'promise/always-return': 'off',
57
55
  'unicorn/no-null': 'off',
@@ -103,6 +101,7 @@ export default [
103
101
  ],
104
102
  '@typescript-eslint/unbound-method': 'off',
105
103
  '@typescript-eslint/no-non-null-assertion': 'off',
104
+ 'no-unused-vars': 'off',
106
105
  '@typescript-eslint/no-unused-vars': [
107
106
  'error',
108
107
  {
package/package.json CHANGED
@@ -41,6 +41,6 @@
41
41
  "fmt": "prettier -w .",
42
42
  "lint": "eslint --fix"
43
43
  },
44
- "version": "2.0.0",
44
+ "version": "2.0.2",
45
45
  "type": "module"
46
46
  }