mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: move helper.js to util.js (#8510)
This commit is contained in:
12
.eslintrc.js
12
.eslintrc.js
@@ -16,7 +16,7 @@ module.exports = {
|
||||
|
||||
parser: '@typescript-eslint/parser',
|
||||
|
||||
plugins: ['mocha', '@typescript-eslint', 'unicorn', 'import'],
|
||||
plugins: ['mocha', '@typescript-eslint', 'import'],
|
||||
|
||||
extends: ['plugin:prettier/recommended'],
|
||||
|
||||
@@ -100,9 +100,6 @@ module.exports = {
|
||||
// ensure we don't have any it.only or describe.only in prod
|
||||
'mocha/no-exclusive-tests': 'error',
|
||||
|
||||
// enforce the variable in a catch block is named error
|
||||
'unicorn/catch-error-name': 'error',
|
||||
|
||||
'no-restricted-imports': [
|
||||
'error',
|
||||
{
|
||||
@@ -173,15 +170,8 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/array-type': [
|
||||
2,
|
||||
{
|
||||
default: 'array-simple',
|
||||
},
|
||||
],
|
||||
// By default this is a warning but we want it to error.
|
||||
'@typescript-eslint/explicit-module-boundary-types': 2,
|
||||
|
||||
'no-restricted-syntax': [
|
||||
'error',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user