mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-12 20:55:48 +00:00
eslint: fix linting
This commit is contained in:
parent
ef1c896a30
commit
83a7ddda28
@ -1,3 +1,6 @@
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable @typescript-eslint/no-require-imports */
|
||||
/* eslint-disable import/no-commonjs */
|
||||
const { fixupConfigRules, fixupPluginRules } = require('@eslint/compat')
|
||||
const { FlatCompat } = require('@eslint/eslintrc')
|
||||
const js = require('@eslint/js')
|
||||
@ -20,7 +23,7 @@ const compat = new FlatCompat({
|
||||
|
||||
module.exports = defineConfig([
|
||||
{
|
||||
ignores: ['build/*', 'cypress/reports/*', 'cypress/screenshots/*', 'node_modules/*'],
|
||||
ignores: ['**/*md', 'build/*', 'cypress/reports/*', 'cypress/screenshots/*', 'node_modules/*'],
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
@ -258,5 +261,11 @@ module.exports = defineConfig([
|
||||
|
||||
extends: compat.extends('plugin:yml/prettier'),
|
||||
},
|
||||
globalIgnores(['**/build/', 'cypress/reports/', 'cypress/screenshots/', '**/node_modules/']),
|
||||
globalIgnores([
|
||||
'**/*md',
|
||||
'**/build/',
|
||||
'cypress/reports/',
|
||||
'cypress/screenshots/',
|
||||
'node_modules/',
|
||||
]),
|
||||
])
|
||||
|
||||
1
package-lock.json
generated
1
package-lock.json
generated
@ -13,6 +13,7 @@
|
||||
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.4",
|
||||
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
||||
"@eslint/compat": "^1.2.9",
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@eslint/js": "^9.26.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
||||
"@typescript-eslint/parser": "^8.31.1",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.4",
|
||||
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
||||
"@eslint/compat": "^1.2.9",
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@eslint/js": "^9.26.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
||||
"@typescript-eslint/parser": "^8.31.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user