mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Exclude test/e2e from default linter
This commit is contained in:
parent
956acc4775
commit
35f43f6787
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import js from "@eslint/js";
|
import js from "@eslint/js";
|
||||||
import { defineConfig } from "@eslint/config-helpers";
|
import { defineConfig, globalIgnores } from "@eslint/config-helpers";
|
||||||
import globals from "globals";
|
import globals from "globals";
|
||||||
import importPlugin from "eslint-plugin-import";
|
import importPlugin from "eslint-plugin-import";
|
||||||
|
|
||||||
|
|
@ -22,4 +22,5 @@ export default defineConfig([
|
||||||
},
|
},
|
||||||
rules: {},
|
rules: {},
|
||||||
},
|
},
|
||||||
|
globalIgnores(['test/e2e']),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node --test --experimental-test-module-mocks 'src/**/*.spec.js'",
|
"test": "node --test --experimental-test-module-mocks 'src/**/*.spec.js'",
|
||||||
"test:watch": "node --test --watch --experimental-test-module-mocks 'src/**/*.spec.js'",
|
"test:watch": "node --test --watch --experimental-test-module-mocks 'src/**/*.spec.js'",
|
||||||
"lint": "eslint src"
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue