-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no qa needed
- Loading branch information
Showing
53 changed files
with
3,392 additions
and
2,571 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: web-apis | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Environment (please include versions for all products, browsers, OS, etc used ):** | ||
|
||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: web-apis | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: 'Other ' | ||
about: 'If your issue is not a bug and not a feature request, please use this form. ' | ||
title: '' | ||
labels: web-apis | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
const globals = require('globals'); | ||
const eslint = require('@eslint/js'); | ||
const tseslint = require('typescript-eslint'); | ||
const eslintConfigPrettier = require('eslint-config-prettier'); | ||
const eslintPluginPrettier = require('eslint-plugin-prettier'); | ||
|
||
module.exports = [ | ||
eslint.configs.recommended, | ||
eslintConfigPrettier, | ||
...tseslint.configs.recommended, | ||
{ | ||
languageOptions: { | ||
parser: tseslint.parser, | ||
globals: { | ||
...globals.node, | ||
...globals.mocha, | ||
...globals.browser | ||
} | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect' | ||
} | ||
}, | ||
plugins: { | ||
prettier: eslintPluginPrettier, | ||
'@typescript-eslint': tseslint.plugin | ||
}, | ||
rules: { | ||
'@typescript-eslint/camelcase': 'off', | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/ban-types': 'off', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'@typescript-eslint/no-explicit-any': 'error', | ||
'@typescript-eslint/no-non-null-assertion': 'error', | ||
'@typescript-eslint/no-require-imports': 'off' | ||
} | ||
}, | ||
{ | ||
ignores: [ | ||
'packages/cli/src/testutils/', | ||
'packages/cli/src/**/**/*.test.ts', | ||
'packages/reporter-earl/coverage/', | ||
'packages/react/examples/', | ||
'**/dist/', | ||
'**/fixtures/external/' | ||
] | ||
}, | ||
{ | ||
files: ['**/*.js'], | ||
rules: { | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-var-requires': 'off' | ||
} | ||
}, | ||
{ | ||
files: [ | ||
'**/*.test.ts', | ||
'**/*.test.tsx', | ||
'**/*.spec.ts', | ||
'**/*.spec.tsx', | ||
'**/test/**', | ||
'**/tests/**' | ||
], | ||
rules: { | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/cli/**'], | ||
rules: { | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/cli/**/*.test.ts'], | ||
languageOptions: { | ||
globals: { | ||
...globals.mocha | ||
} | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/puppeteer/**'], | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-use-before-define': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/react/**'], | ||
languageOptions: { | ||
sourceType: 'module', | ||
globals: { | ||
...globals.node, | ||
...globals.mocha, | ||
...globals.browser | ||
}, | ||
ecmaVersion: 2018 | ||
} | ||
}, | ||
{ | ||
files: ['packages/react/test/*.js'], | ||
rules: { | ||
'no-var': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/reporter-earl/**'], | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'no-debugger': 'off', | ||
'no-empty-pattern': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['packages/reporter-earl/tests/*.test.ts'], | ||
languageOptions: { | ||
globals: { | ||
jest: true | ||
} | ||
} | ||
}, | ||
{ | ||
files: ['packages/reporter-earl/src/types.ts'], | ||
rules: { | ||
'@typescript-eslint/no-empty-object-type': '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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "4.9.1" | ||
} | ||
"version": "4.10.0" | ||
} |
Oops, something went wrong.