瀏覽代碼

Use eslint cache (#12668)

master^2
BSKY 4 年之前
committed by Eugen Rochko
父節點
當前提交
cf4dc3ffb3
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      .gitignore
  2. +1
    -1
      package.json

+ 1
- 1
.gitignore 查看文件

@@ -13,6 +13,7 @@
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
.eslintcache
/log/*
!/log/.keep
/tmp
@@ -61,4 +62,3 @@ ubuntu-xenial-16.04-cloudimg-console.log

# Ignore Docker option files
docker-compose.override.yml


+ 1
- 1
package.json 查看文件

@@ -12,7 +12,7 @@
"start": "node ./streaming/index.js",
"test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
"test:lint:js": "eslint --ext=js .",
"test:lint:js": "eslint --ext=js . --cache",
"test:lint:sass": "sass-lint -v",
"test:jest": "cross-env NODE_ENV=test jest --coverage"
},


Loading…
取消
儲存