mirror of
https://github.com/microsoft/playwright.git
synced 2024-08-16 23:50:33 +03:00
chore: update eslint config (#6840)
This commit is contained in:
parent
831a1c846f
commit
ec7d37d92f
@ -1,17 +1,16 @@
|
||||
test/assets/modernizr.js
|
||||
lib/
|
||||
*.js
|
||||
# Ignore everything by default
|
||||
**/*
|
||||
|
||||
# Check ts files in src/
|
||||
!src
|
||||
!src/**/*.ts
|
||||
src/**/*.d.ts
|
||||
src/generated/*
|
||||
src/server/chromium/protocol.ts
|
||||
src/server/firefox/protocol.ts
|
||||
src/server/webkit/protocol.ts
|
||||
src/third_party/
|
||||
/types/*
|
||||
/index.d.ts
|
||||
utils/generate_types/overrides.d.ts
|
||||
utils/generate_types/test/test.ts
|
||||
node_modules/
|
||||
browser_patches/*/checkout/
|
||||
browser_patches/chromium/output/
|
||||
**/*.d.ts
|
||||
output/
|
||||
|
||||
# Check ts files in tests/
|
||||
!tests
|
||||
!tests/**/*.ts
|
||||
tests/**/*.d.ts
|
||||
|
@ -114,7 +114,7 @@ module.exports = {
|
||||
// copyright
|
||||
"notice/notice": [2, {
|
||||
"mustMatch": "Copyright",
|
||||
"templateFile": "./utils/copyright.js",
|
||||
"templateFile": require("path").join(__dirname, "utils", "copyright.js"),
|
||||
}],
|
||||
}
|
||||
};
|
||||
|
@ -15,7 +15,7 @@
|
||||
"atest": "folio --config=tests/config/android.config.ts",
|
||||
"etest": "folio --config=tests/config/electron.config.ts",
|
||||
"test": "folio --config=tests/config/default.config.ts",
|
||||
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext js,ts . || eslint --ext js,ts .",
|
||||
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext ts . || eslint --ext ts .",
|
||||
"tsc": "tsc -p .",
|
||||
"tsc-installer": "tsc -p ./src/install/tsconfig.json",
|
||||
"doc": "node utils/doclint/cli.js",
|
||||
|
Loading…
Reference in New Issue
Block a user