-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FAQ and Contact links to ListWidget; update terminology from Modu… (
#668) * Add FAQ and Contact links to ListWidget; update terminology from Modules to Subjects * Add step to install WebKit dependencies in Playwright workflow * Update WebKit dependency version in Playwright workflow * Enhance Playwright workflow by adding specific WebKit dependencies installation and clearing Playwright cache before installation * Update WebKit dependencies installation to use correct ICU version and streamline installation process * Refactor WebKit dependencies installation in Playwright workflow to include specific ICU version and streamline installation process * Update upload-artifact action to version 4 in Playwright workflow * added libvpx7 * Refactor Playwright workflow to improve caching and streamline WebKit dependencies installation * Update WebKit dependencies with correct package versions in Playwright workflow * Refactor Playwright workflow to let Playwright handle dependencies installation * remove webkit * Remove WebKit configuration from Playwright setup * add to playwright to depenencies * save * save * update web server command in Playwright config to use 'npm run dev' * Update Playwright config to run build before starting server and extend ESLint rules for devDependencies
- Loading branch information
1 parent
89b13e9
commit 1bcbc5f
Showing
11 changed files
with
1,368 additions
and
1,577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,116 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"airbnb", | ||
"airbnb-typescript", | ||
"prettier", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"plugins": ["react", "@typescript-eslint", "prettier"], | ||
"env": { | ||
"browser": true, | ||
"es2023": true, | ||
"node": true | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-misused-promises": [ | ||
"error", | ||
{ | ||
"checksConditionals": false, | ||
"checksVoidReturn": false | ||
} | ||
], | ||
"no-underscore-dangle": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/prop-types": "off", | ||
"react/require-default-props": "off", | ||
"react/default-props-match-prop-types": "off", | ||
"react/jsx-props-no-spreading": "off", | ||
"import/prefer-default-export": "off", | ||
"no-param-reassign": "off", | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"ts": "never", | ||
"tsx": "never" | ||
} | ||
], | ||
"import/no-unresolved": "error", | ||
"consistent-return": "off", | ||
"arrow-body-style": "off", | ||
"prefer-arrow-callback": "off", | ||
"react/jsx-filename-extension": ["error", { "extensions": [".tsx", ".jsx"] }], | ||
"react/function-component-definition": [ | ||
"error", | ||
{ | ||
"namedComponents": "arrow-function", | ||
"unnamedComponents": "arrow-function" | ||
} | ||
], | ||
"prettier/prettier": "warn", | ||
"jsx-a11y/anchor-is-valid": [ | ||
"error", | ||
{ | ||
"components": ["Link"], | ||
"specialLink": ["hrefLeft", "hrefRight"], | ||
"aspects": ["invalidHref", "preferButton"] | ||
} | ||
], | ||
"jsx-a11y/label-has-associated-control": [ | ||
"error", | ||
{ | ||
"required": { | ||
"some": ["nesting", "id"] | ||
} | ||
} | ||
], | ||
"jsx-a11y/control-has-associated-label": "off", // Added this line | ||
"@next/next/no-img-element": "off", | ||
"react/no-danger": "off", | ||
"no-void": ["error", { "allowAsStatement": true }] | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
}, | ||
"import/resolver": { | ||
"typescript": {}, | ||
"node": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.js"], | ||
"rules": { | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"@typescript-eslint/no-unsafe-return": "off" | ||
} | ||
} | ||
] | ||
} | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"airbnb", | ||
"airbnb-typescript", | ||
"prettier", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"plugins": ["react", "@typescript-eslint", "prettier"], | ||
"env": { | ||
"browser": true, | ||
"es2023": true, | ||
"node": true | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-misused-promises": [ | ||
"error", | ||
{ | ||
"checksConditionals": false, | ||
"checksVoidReturn": false | ||
} | ||
], | ||
"no-underscore-dangle": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/prop-types": "off", | ||
"react/require-default-props": "off", | ||
"react/default-props-match-prop-types": "off", | ||
"react/jsx-props-no-spreading": "off", | ||
"import/prefer-default-export": "off", | ||
"no-param-reassign": "off", | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": [ | ||
"**/*.test.ts", | ||
"**/*.test.tsx", | ||
"**/playwright.config.ts", | ||
"tests/**/*" | ||
] | ||
} | ||
], | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"ts": "never", | ||
"tsx": "never" | ||
} | ||
], | ||
"import/no-unresolved": "error", | ||
"consistent-return": "off", | ||
"arrow-body-style": "off", | ||
"prefer-arrow-callback": "off", | ||
"react/jsx-filename-extension": ["error", { "extensions": [".tsx", ".jsx"] }], | ||
"react/function-component-definition": [ | ||
"error", | ||
{ | ||
"namedComponents": "arrow-function", | ||
"unnamedComponents": "arrow-function" | ||
} | ||
], | ||
"prettier/prettier": "warn", | ||
"jsx-a11y/anchor-is-valid": [ | ||
"error", | ||
{ | ||
"components": ["Link"], | ||
"specialLink": ["hrefLeft", "hrefRight"], | ||
"aspects": ["invalidHref", "preferButton"] | ||
} | ||
], | ||
"jsx-a11y/label-has-associated-control": [ | ||
"error", | ||
{ | ||
"required": { | ||
"some": ["nesting", "id"] | ||
} | ||
} | ||
], | ||
"jsx-a11y/control-has-associated-label": "off", | ||
"@next/next/no-img-element": "off", | ||
"react/no-danger": "off", | ||
"no-void": ["error", { "allowAsStatement": true }] | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
}, | ||
"import/resolver": { | ||
"typescript": {}, | ||
"node": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.js"], | ||
"rules": { | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"@typescript-eslint/no-unsafe-return": "off" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.