Exclude .js files from eslint targets

jh-changes
Shin'ya Ueoka 5 years ago
parent 776977e0dc
commit 00ccdc5ad7
  1. 2
      package.json

@ -6,7 +6,7 @@
"start": "webpack --mode development -w --debug --devtool inline-source-map", "start": "webpack --mode development -w --debug --devtool inline-source-map",
"build": "NODE_ENV=production webpack --mode production --progress --display-error-details --devtool inline-source-map", "build": "NODE_ENV=production webpack --mode production --progress --display-error-details --devtool inline-source-map",
"package": "npm run build && script/package", "package": "npm run build && script/package",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src", "lint": "eslint --ext .ts,.tsx src",
"type-checks": "tsc --noEmit", "type-checks": "tsc --noEmit",
"test": "karma start", "test": "karma start",
"test:e2e": "mocha --timeout 10000 --retries 10 --require ts-node/register --extension ts e2e" "test:e2e": "mocha --timeout 10000 --retries 10 --require ts-node/register --extension ts e2e"