You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
module.exports = {
|
|
|
|
extends: ['@stacks/eslint-config'],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
createDefaultProgram: true,
|
|
|
|
project: './tsconfig.json',
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
node: true,
|
|
|
|
es6: true,
|
|
|
|
},
|
|
|
|
globals: {
|
|
|
|
page: true,
|
|
|
|
browser: true,
|
|
|
|
context: true,
|
|
|
|
jestPuppeteer: true,
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
|
|
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
|
|
'@typescript-eslint/no-unsafe-call': 0,
|
|
|
|
'@typescript-eslint/no-unsafe-return': 0,
|
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 0,
|
|
|
|
'@typescript-eslint/ban-ts-comment': 0,
|
|
|
|
'@typescript-eslint/ban-ts-ignore': 0,
|
|
|
|
'@typescript-eslint/restrict-template-expressions': 0,
|
|
|
|
},
|
|
|
|
};
|