@lipemat/eslint-config 4.0.0-beta.1 → 4.0.0-beta.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.
package/helpers/config.js CHANGED
@@ -27,7 +27,8 @@ import path from 'path';
27
27
  * @return Linter.Config[]
28
28
  */
29
29
  export function getConfig( mergedConfig ) {
30
- mergedConfig = getExtensionsConfig( 'eslint.config', {configs: mergedConfig} );
30
+ const BASE = {configs: mergedConfig};
31
+ mergedConfig = {...BASE, ...getExtensionsConfig( 'eslint.config', BASE )};
31
32
 
32
33
  try {
33
34
  const localConfig = require( path.resolve( getPackageConfig().packageDirectory + '/config', 'eslint.config' ) );
package/index.js CHANGED
@@ -41,8 +41,6 @@ const BASE_CONFIG = {
41
41
  // Parse error with Svelte v4 due to `as` operator.
42
42
  'import/named': 'off',
43
43
  'import/no-unresolved': 'off',
44
- // Parse error with Svelte v4 due to `as` operator.
45
- 'import/named': 'off',
46
44
  'no-console': [ 'warn', {allow: [ 'warn', 'error', 'debug' ]} ],
47
45
  'no-constant-binary-expression': [ 'warn' ],
48
46
  'no-multiple-empty-lines': [ 'error', {max: 2} ],
@@ -91,7 +89,6 @@ const TS_CONFIG = {
91
89
  'no-undef': 'off',
92
90
  'no-unused-vars': 'off',
93
91
  semi: 'off',
94
- '@typescript-eslint/no-empty-object-type': 'error',
95
92
  '@typescript-eslint/no-explicit-any': 'error',
96
93
  '@typescript-eslint/no-redeclare': [ 'error' ],
97
94
  '@typescript-eslint/no-restricted-types': [ 'error', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lipemat/eslint-config",
3
- "version": "4.0.0-beta.1",
3
+ "version": "4.0.0-beta.3",
4
4
  "license": "MIT",
5
5
  "description": "Eslint configuration for all @lipemat packages",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@lipemat/js-boilerplate": "^10.10.4",
42
- "@lipemat/js-boilerplate-svelte": "^1.1.2",
42
+ "@lipemat/js-boilerplate-svelte": "^2.0.0-beta.1",
43
43
  "@types/jest": "^29.5.3",
44
44
  "@types/node": "^20",
45
45
  "execa": "^5.1.1",