Skip to content

Commit c6839cd

Browse files
committed
chore(frameworks): update rollup of some frameworks
2 parents 51f902b + 0fce694 commit c6839cd

File tree

106 files changed

+18700
-2346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+18700
-2346
lines changed

eslint.config.js

Lines changed: 34 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
import globals from "globals";
2-
import js from "@eslint/js";
3-
import ts from "@typescript-eslint/eslint-plugin";
4-
import tsParser from "@typescript-eslint/parser";
5-
import react from "eslint-plugin-react";
6-
import reactRefresh from "eslint-plugin-react-refresh";
7-
import reactHooks from "eslint-plugin-react-hooks";
8-
import unicorn from "eslint-plugin-unicorn";
2+
import eslint from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import reactPlugin from "eslint-plugin-react";
5+
import reactRefreshPlugin from "eslint-plugin-react-refresh";
6+
import reactHooksPlugin from "eslint-plugin-react-hooks";
7+
import unicornPlugin from "eslint-plugin-unicorn";
8+
import eslintConfigPrettier from "eslint-config-prettier";
99

10-
export default [
11-
js.configs.recommended,
10+
export default tseslint.config(
11+
eslint.configs.recommended,
12+
...tseslint.configs.recommended,
13+
unicornPlugin.configs["flat/recommended"],
1214
{
13-
ignores: ["**/dist", "**/results", "**/node_modules", "css", "**/csv_export.js"],
14-
},
15-
{
16-
plugins: { unicorn },
1715
rules: {
18-
...unicorn.configs.recommended.rules,
1916
// no:
2017
"unicorn/filename-case": "off",
2118
"unicorn/no-for-loop": "off",
@@ -43,17 +40,11 @@ export default [
4340
},
4441
languageOptions: { globals: { ...globals.node } },
4542
},
46-
{
47-
files: ["**/*.{ts,tsx}"],
48-
plugins: { "@typescript-eslint": ts },
49-
languageOptions: { parser: tsParser },
50-
rules: ts.configs["recommended"].rules,
51-
},
5243
/**
5344
* Webdriver
5445
*/
5546
{
56-
files: ["webdriver-ts/**/*.ts"],
47+
files: ["webdriver-ts/src/**/*.{js,cjs,ts}"],
5748
languageOptions: {
5849
parserOptions: { project: ["./webdriver-ts/tsconfig.eslint.json"] },
5950
},
@@ -62,33 +53,38 @@ export default [
6253
"require-await": "error",
6354
"@typescript-eslint/no-floating-promises": "error",
6455
"@typescript-eslint/no-unused-vars": "off",
56+
"prefer-const": "off",
6557
},
6658
},
6759
/**
6860
* Web
6961
*/
7062
{
71-
files: ["webdriver-ts-results/**/*"],
72-
rules: {
73-
"@typescript-eslint/no-loss-of-precision": "off",
74-
},
75-
},
76-
{
77-
files: ["webdriver-ts-results/src/**/*.{js,ts,jsx,tsx}"],
63+
files: ["webdriver-ts-results/**/*.{js,cjs,ts,jsx,tsx}"],
7864
plugins: {
79-
react,
80-
"react-refresh": reactRefresh,
81-
"react-hooks": reactHooks,
65+
react: reactPlugin,
66+
"react-refresh": reactRefreshPlugin,
67+
"react-hooks": reactHooksPlugin,
8268
},
8369
rules: {
84-
...react.configs.recommended.rules,
85-
...react.configs["jsx-runtime"].rules,
86-
...reactHooks.configs.recommended.rules,
87-
70+
...reactPlugin.configs.flat.recommended.rules,
71+
...reactPlugin.configs.flat["jsx-runtime"].rules,
72+
...reactHooksPlugin.configs.recommended.rules,
8873
"react/jsx-no-useless-fragment": "warn",
8974
"react-refresh/only-export-components": "warn",
9075
},
91-
settings: { react: { version: "detect" } },
92-
languageOptions: { globals: { ...globals.browser } },
76+
settings: {
77+
react: {
78+
version: "18.2",
79+
},
80+
},
81+
languageOptions: {
82+
...reactPlugin.configs.flat["jsx-runtime"].languageOptions,
83+
globals: { ...globals.browser },
84+
},
85+
},
86+
{
87+
ignores: ["**/node_modules/", "**/dist/", "**/results/", "css/", "**/csv_export.js", "**/py/"],
9388
},
94-
];
89+
eslintConfigPrettier
90+
);

frameworks/keyed/angular-cf-nozone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"js-framework-benchmark": {
55
"frameworkVersionFromPackage": "@angular/core",
66
"customURL": "/dist/angular/browser/",
7-
"frameworkHomeURL": "https://angular.io/"
7+
"frameworkHomeURL": "https://angular.dev/"
88
},
99
"scripts": {
1010
"ng": "ng",

frameworks/keyed/angular-cf-signals/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"js-framework-benchmark": {
55
"frameworkVersionFromPackage": "@angular/core",
66
"customURL": "/dist/angular/browser/",
7-
"frameworkHomeURL": "https://angular.io/"
7+
"frameworkHomeURL": "https://angular.dev/"
88
},
99
"scripts": {
1010
"ng": "ng",

frameworks/keyed/angular-cf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"js-framework-benchmark": {
55
"frameworkVersionFromPackage": "@angular/core",
66
"customURL": "/dist/angular/browser/",
7-
"frameworkHomeURL": "https://angular.io/"
7+
"frameworkHomeURL": "https://angular.dev/"
88
},
99
"scripts": {
1010
"ng": "ng",

frameworks/keyed/angular-ngfor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"js-framework-benchmark": {
55
"frameworkVersionFromPackage": "@angular/core",
66
"customURL": "/dist/angular/browser/",
7-
"frameworkHomeURL": "https://angular.io/"
7+
"frameworkHomeURL": "https://angular.dev/"
88
},
99
"scripts": {
1010
"ng": "ng",

frameworks/keyed/deleight/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ <h1>Deleight-"keyed"</h1>
7979
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
8080
</div>
8181
</div>
82+
<template><tr><td class='col-md-1 id'>[id]</td><td class='col-md-4'><a class='lbl'>[lbl]</a></td><td class='col-md-1'><a class='remove'><span class='remove glyphicon glyphicon-remove' aria-hidden='true'></span></a></td><td class='col-md-6'></td></tr></template>
8283
<script src='dist/Main.js' type="module"></script>
8384
</body>
8485
</html>

0 commit comments

Comments
 (0)