mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-01 08:34:02 +03:00
17 lines
429 B
JavaScript
17 lines
429 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
extends: '../.eslintrc.js',
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint", "notice"],
|
|
parserOptions: {
|
|
ecmaVersion: 9,
|
|
sourceType: "module",
|
|
project: path.join(__dirname, 'tsconfig.json'),
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-floating-promises': 'error',
|
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": 2,
|
|
},
|
|
};
|