Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .eslintrc.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules/
/playwright/.cache/
/screenshots/
/test-results/
/LoginAuth.json
/LoginAuth.json
/accessibility-results.json
544 changes: 272 additions & 272 deletions accessibility-results.json

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const { defineConfig } = require("eslint/config");
const js = require("@eslint/js");
const globals = require("globals");
const tsPlugin = require("@typescript-eslint/eslint-plugin");
const tsParser = require("@typescript-eslint/parser");

module.exports = defineConfig([

{
ignores: ["playwright-report/**"]
},
// 1) JavaScript files
{
files: ["**/*.{js,mjs,cjs}"],
extends: [ js.configs.recommended ], // built-in JS rules
languageOptions: {
globals: globals.browser,
},
},

// 2) TypeScript files
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
parser: tsParser, // use the TS parser
parserOptions: {
ecmaFeatures: { modules: true },
ecmaVersion: "latest",
project: "./tsconfig.json",
},
},
plugins: {
"@typescript-eslint": tsPlugin, // long name
ts: tsPlugin, // short alias
},
rules: {
// core ESLint rules tweaked for TS:
...tsPlugin.configs["eslint-recommended"].rules,
// full TS-specific recommended rules:
...tsPlugin.configs.recommended.rules,
},
},
]);
Loading
Loading