style: eslint ignore docs/

This commit is contained in:
harttle
2020-03-10 01:19:40 +08:00
parent 3aa47f6c85
commit 76f69db752
4 changed files with 7 additions and 5 deletions
+1
View File
@@ -2,3 +2,4 @@ node_modules
dist dist
demo demo
coverage coverage
docs
+4 -4
View File
@@ -5,10 +5,10 @@ const { layout } = require('./layout')
const { memory } = require('./memory') const { memory } = require('./memory')
async function main () { async function main () {
// await output() await output()
// await tag() await tag()
// await demo() await demo()
// await layout() await layout()
await memory() await memory()
} }
+1 -1
View File
@@ -1 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}; module.exports = { extends: ['@commitlint/config-conventional'] }
+1
View File
@@ -13,6 +13,7 @@
"integration": "mocha \"test/integration/**/*.ts\"", "integration": "mocha \"test/integration/**/*.ts\"",
"e2e": "npm run build && mocha \"test/e2e/**/*.ts\"", "e2e": "npm run build && mocha \"test/e2e/**/*.ts\"",
"test": "cross-env BUNDLES=cjs,umd npm run build && mocha \"test/**/*.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", "benchmark": "node --expose-gc benchmark/index",
"coverage": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"", "coverage": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"",
"coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls", "coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls",