style: lint .tsx (#530)

Fixes #528.
pull/529/head
Shahar Dawn Or 5 years ago committed by GitHub
parent 6eacf72763
commit 14d7e0af25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@
"scripts": {
"docs": "remark . --output",
"check-clean": "git diff --exit-code",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.ts .",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
"lint:editorconfig": "editorconfig-checker",
"lint": "run-s lint:editorconfig lint:js",
"unit": "karma start",

@ -61,7 +61,7 @@ describe('snabbdom', function() {
const showLogin = false;
const showCaptcha = false;
const loginAttempts = 0;
const userName = ``;
const userName = '';
const profilePic = undefined;
const isLoggedIn = true;
const vnode = (

Loading…
Cancel
Save