Skip to content

Commit

Permalink
pkg: update lintrc and ignore files.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 21, 2019
1 parent 17ec444 commit 2bb40f1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@
}
}
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 10,
"ecmaFeatures": {
"globalReturn": true
},
"requireConfigFile": false,
"sourceType": "script"
},
"root": true,
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build/
node_modules/
npm-debug.log
package-lock.json
13 changes: 11 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
.babel*
.bmocharc*
.bpkgignore
.editorconfig
.eslint*
.git*
.mocharc*
.yarnignore
bench/
docs/
build/
test/
docs/
node_modules/
npm-debug.log
package-lock.json
test/
webpack.*.js
yarn.lock
10 changes: 4 additions & 6 deletions lib/server/templates/bmocha.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
'use strict';

/*
global __REQUIRES__
global __FUNCTIONS__
global __OPTIONS__
global document
*/
/* global __REQUIRES__ */
/* global __FUNCTIONS__ */
/* global __OPTIONS__ */
/* global document */

const bmocha = require('../../bmocha');
const common = require('./common');
Expand Down

0 comments on commit 2bb40f1

Please sign in to comment.