Skip to content

Commit

Permalink
通过 lint 检测
Browse files Browse the repository at this point in the history
  • Loading branch information
lmk123 committed Sep 16, 2016
1 parent 5fb5b36 commit faaac32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"min": "uglifyjs namedstorage.js -c -m --screw-ie8 --comments /!/ -o namedstorage.min.js",
"prepublish": "npm run min",
"lint": "eslint --ignore-pattern '/coverage/' \"**/*.js\"",
"lint": "eslint --ignore-pattern '/coverage/' --ignore-pattern '*.min.js' \"**/*.js\"",
"test": "karma start"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion test/unit/all-test-spec.js
Expand Up @@ -3,7 +3,6 @@
describe('NamedStorage', function () {
var localStorage = window.localStorage
var sessionStorage = window.sessionStorage
var Event = window.Event

function uuid () {
return String(Math.random() + Date.now())
Expand Down

0 comments on commit faaac32

Please sign in to comment.