fix wrong lint script
This commit is contained in:
parent
04c7140a16
commit
b0d34e4cd2
@ -53,7 +53,7 @@ async function run (folder, args) {
|
|||||||
await fs.readFile (path.join (snip_folder, 'package.json'), 'utf-8')
|
await fs.readFile (path.join (snip_folder, 'package.json'), 'utf-8')
|
||||||
);
|
);
|
||||||
|
|
||||||
package_json.scripts = { lint: 'eslint --fix .' };
|
package_json.scripts = { lint: 'eslint .' };
|
||||||
|
|
||||||
await fs.writeFile (
|
await fs.writeFile (
|
||||||
path.join (snip_folder, 'package.json'),
|
path.join (snip_folder, 'package.json'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user