Skip to content

Commit

Permalink
setup lint with xo πŸ’…πŸ» ..
Browse files Browse the repository at this point in the history
  • Loading branch information
3imed-jaberi committed Jun 13, 2020
1 parent c7dca21 commit 1dfad4a
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
},
"devDependencies": {
"contributors": "*",
"eslint-config-xo-lass": "^1.0.3",
"istanbul-harmony": "*",
"jshint": "*",
"koa": "1",
"koa-qs": "1",
"mocha": "*",
"should": "7",
"supertest": "1"
"supertest": "1",
"xo": "^0.32.0"
},
"homepage": "https://github.com/koajs/koa-safe-jsonp",
"repository": {
Expand All @@ -41,5 +43,27 @@
"node": ">= 1.0.0"
},
"author": "fengmk2 <[email protected]> (http://fengmk2.com)",
"license": "MIT"
"license": "MIT",
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
],
"ignore": [
"test",
"demo.js"
],
"rules": {
"node/no-deprecated-api": "off",
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"prefer-rest-params": "off"
}
}
}

0 comments on commit 1dfad4a

Please sign in to comment.