@mands/nx-playwright
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@mands/nx-playwright", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -19,4 +19,6 @@ "use strict"; | ||
devkit_1.updateJson(host, devkit_1.joinPathFragments(options.projectRoot, '.eslintrc.json'), (json) => { | ||
json.extends = [...json.extends]; | ||
return json; | ||
const overrides = json.overrides.map(({ files, rules }) => files.includes('*.ts') | ||
? { files, rules: { 'jest/no-done-callback': 'off' } } | ||
: { files, rules }); | ||
return Object.assign(Object.assign({}, json), { overrides, extends: [...json.extends] }); | ||
}); | ||
@@ -23,0 +25,0 @@ } |
Sorry, the diff of this file is not supported yet
22724
368