Skip to content

Commit 0c8aaf1

Browse files
authored
chore: update stencil to v4.43.1 (#2412)
1 parent 07501d6 commit 0c8aaf1

26 files changed

Lines changed: 2423 additions & 1335 deletions

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@
4242
"tslib": "^2.6.3"
4343
},
4444
"devDependencies": {
45+
"@eslint/eslintrc": "^3.3.4",
46+
"@eslint/js": "^9.39.3",
4547
"@actions/core": "^1.11.1",
4648
"@changesets/changelog-github": "^0.5.1",
4749
"@changesets/cli": "^2.29.7",
4850
"dotenv-cli": "^7.4.2",
49-
"eslint": "^8.57.0",
51+
"eslint": "catalog:",
5052
"eslint-config-prettier": "^8.10.0",
5153
"execa": "^5.1.1",
5254
"prettier": "^2.8.8",

packages/angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"tslib": "^2.3.0"
2121
},
2222
"peerDependencies": {
23-
"@angular/core": ">=20",
24-
"@angular/forms": ">=20",
23+
"@angular/core": ">=20.0.0",
24+
"@angular/forms": ">=20.0.0",
2525
"@siemens/ix-icons": "^3.2.0"
2626
},
2727
"devDependencies": {

packages/core/.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/core/.eslintrc.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

packages/core/eslint.config.cjs

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/* eslint-disable */
2+
/* tslint:disable */
3+
/*
4+
* SPDX-FileCopyrightText: 2024 Siemens AG
5+
*
6+
* SPDX-License-Identifier: MIT
7+
*
8+
* This source code is licensed under the MIT license found in the
9+
* LICENSE file in the root directory of this source tree.
10+
*/
11+
const { FlatCompat } = require('@eslint/eslintrc');
12+
const js = require('@eslint/js');
13+
14+
const compat = new FlatCompat({
15+
baseDirectory: __dirname,
16+
recommendedConfig: js.configs.recommended,
17+
allConfig: js.configs.all,
18+
});
19+
20+
module.exports = [
21+
{
22+
ignores: [
23+
'stencil.config.ts',
24+
'playwright.config.ts',
25+
'playwright-ct.config.ts',
26+
'src/components.d.ts',
27+
'scripts/build',
28+
'scripts/e2e',
29+
],
30+
},
31+
...compat.config({
32+
parserOptions: {
33+
project: './tsconfig.lint.json',
34+
},
35+
extends: [
36+
'plugin:@stencil-community/recommended',
37+
'eslint-config-ix/index.js',
38+
],
39+
rules: {
40+
'@stencil-community/async-methods': 0,
41+
'@stencil-community/own-props-must-be-private': 0,
42+
'@stencil-community/own-methods-must-be-private': 0,
43+
'@stencil-community/strict-boolean-conditions': 0,
44+
'@stencil-community/ban-default-true': ['error'],
45+
'@stencil-community/decorators-style': [
46+
'error',
47+
{ prop: 'inline', method: 'multiline' },
48+
],
49+
'react/jsx-no-bind': 0,
50+
'react/jsx-uses-react': 0,
51+
'react/react-in-jsx-scope': 0,
52+
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
53+
'@typescript-eslint/no-explicit-any': 'warn',
54+
'@typescript-eslint/no-unused-vars': 'warn',
55+
'no-unused-vars': 'off',
56+
},
57+
}),
58+
];

packages/core/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"build": "stencil build --prod && npm run build.scss",
6666
"build.scss": "tsx ./scripts/build/build-css.ts",
6767
"build.watch": "stencil build --watch",
68-
"lint": "eslint src/**/*{.ts,.tsx}",
68+
"lint": "eslint src",
6969
"lint:fix": "npm run lint -- --fix",
7070
"prettier": "npx prettier src --check",
7171
"prettier:fix": "npm run prettier -- --write",
@@ -93,25 +93,25 @@
9393
"@siemens/ix-icons": "catalog:",
9494
"@stencil-community/eslint-plugin": "^0.10.0",
9595
"@stencil-community/postcss": "^2.2.0",
96-
"@stencil/angular-output-target": "^1.1.1",
97-
"@stencil/core": "^4.37.1",
98-
"@stencil/react-output-target": "^1.2.0",
99-
"@stencil/sass": "^3.2.2",
100-
"@stencil/vue-output-target": "^0.11.8",
96+
"@stencil/angular-output-target": "^1.3.0",
97+
"@stencil/core": "^4.43.1",
98+
"@stencil/react-output-target": "^1.4.2",
99+
"@stencil/sass": "^3.2.3",
100+
"@stencil/vue-output-target": "^0.13.1",
101101
"@testing-library/dom": "^10.4.0",
102102
"@testing-library/jest-dom": "^6.6.1",
103103
"@types/fs-extra": "^11.0.4",
104104
"@types/jest": "^29.5.12",
105105
"@types/luxon": "^3.4.2",
106106
"@types/mustache": "^4.2.6",
107107
"@types/node": "^20.16.0",
108-
"@typescript-eslint/eslint-plugin": "^6.21.0",
109-
"@typescript-eslint/parser": "^6.21.0",
108+
"@typescript-eslint/eslint-plugin": "^8.56.1",
109+
"@typescript-eslint/parser": "^8.56.1",
110110
"animate.css": "~4.1.1",
111111
"autoprefixer": "10.4.20",
112112
"cssnano": "^6.1.2",
113113
"cz-conventional-changelog": "^3.3.0",
114-
"eslint": "^8.57.0",
114+
"eslint": "catalog:",
115115
"eslint-config-ix": "workspace:*",
116116
"eslint-plugin-react": "^7.35.0",
117117
"fs-extra": "^10.1.0",

0 commit comments

Comments
 (0)