lint clean

This commit is contained in:
Aliaksei Chapyzhenka 2020-09-29 13:22:40 -07:00
parent 2e38b9a97b
commit 6ae6413d0f
7 changed files with 16 additions and 18 deletions

View File

@ -4,7 +4,7 @@
"description": "Value Change Dump (VCD) parser", "description": "Value Change Dump (VCD) parser",
"main": "lib/index.js", "main": "lib/index.js",
"scripts": { "scripts": {
"test": "eslint bin lib && nyc -r=text -r=lcov mocha", "test": "eslint bin lib test && nyc -r=text -r=lcov mocha",
"testonly": "nyc -r=text -r=lcov mocha", "testonly": "nyc -r=text -r=lcov mocha",
"watch": "mocha --watch", "watch": "mocha --watch",
"install": "node bin/build.js", "install": "node bin/build.js",
@ -48,6 +48,7 @@
"nyc": "^15.1.0" "nyc": "^15.1.0"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "@drom/eslint-config/eslint4/node8" "extends": "@drom/eslint-config/eslint4/node8",
"parserOptions": { "ecmaVersion": 2020 }
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -44,8 +44,8 @@ describe('dump', () => {
{ id: '{u', time: 313, cmd: 19, value: 0x0000000000000f00n, mask: 0n }, { id: '{u', time: 313, cmd: 19, value: 0x0000000000000f00n, mask: 0n },
{ id: '{u', time: 314, cmd: 19, value: 0x00000000000000f0n, mask: 0n }, { id: '{u', time: 314, cmd: 19, value: 0x00000000000000f0n, mask: 0n },
{ id: '{u', time: 315, cmd: 19, value: 0x000000000000000fn, mask: 0n }, { id: '{u', time: 315, cmd: 19, value: 0x000000000000000fn, mask: 0n },
{ id: '"}G', time: 316, cmd: 15, value: 1n, mask: 0n }, { id: '"}G', time: 316, cmd: 15, value: 1n, mask: 0n }
]) ]);
// console.log(dump); // console.log(dump);
done(); done();
}); });

File diff suppressed because one or more lines are too long

View File

@ -54,9 +54,8 @@ describe('wasm dump', () => {
{ id: '{u', time: 313, cmd: 19, value: 0x0000000000000f00n, mask: 0n }, { id: '{u', time: 313, cmd: 19, value: 0x0000000000000f00n, mask: 0n },
{ id: '{u', time: 314, cmd: 19, value: 0x00000000000000f0n, mask: 0n }, { id: '{u', time: 314, cmd: 19, value: 0x00000000000000f0n, mask: 0n },
{ id: '{u', time: 315, cmd: 19, value: 0x000000000000000fn, mask: 0n }, { id: '{u', time: 315, cmd: 19, value: 0x000000000000000fn, mask: 0n },
{ id: '"}G', time: 316, cmd: 15, value: 1n, mask: 0n }, { id: '"}G', time: 316, cmd: 15, value: 1n, mask: 0n }
]) ]);
// console.log(dump);
done(); done();
}); });