From 76f69db75212399beed33c82991b4f11cc681a84 Mon Sep 17 00:00:00 2001 From: harttle Date: Tue, 10 Mar 2020 01:19:40 +0800 Subject: [PATCH] style: eslint ignore docs/ --- .eslintignore | 1 + benchmark/index.js | 8 ++++---- commitlint.config.js | 2 +- package.json | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.eslintignore b/.eslintignore index 6fd6d6611..214922d05 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ node_modules dist demo coverage +docs diff --git a/benchmark/index.js b/benchmark/index.js index 44c3db87b..4a7dd1d75 100644 --- a/benchmark/index.js +++ b/benchmark/index.js @@ -5,10 +5,10 @@ const { layout } = require('./layout') const { memory } = require('./memory') async function main () { - // await output() - // await tag() - // await demo() - // await layout() + await output() + await tag() + await demo() + await layout() await memory() } diff --git a/commitlint.config.js b/commitlint.config.js index 3347cb961..4fedde6da 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1 @@ -module.exports = {extends: ['@commitlint/config-conventional']}; +module.exports = { extends: ['@commitlint/config-conventional'] } diff --git a/package.json b/package.json index d3a6f1721..a35c08a87 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "integration": "mocha \"test/integration/**/*.ts\"", "e2e": "npm run build && mocha \"test/e2e/**/*.ts\"", "test": "cross-env BUNDLES=cjs,umd npm run build && mocha \"test/**/*.ts\"", + "check": "npm test && npm run lint", "benchmark": "node --expose-gc benchmark/index", "coverage": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"", "coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls",