Skip to content

Commit

Permalink
fix xo linter rules --pkg.json 🎗 ..
Browse files Browse the repository at this point in the history
  • Loading branch information
3imed-jaberi committed Dec 30, 2020
1 parent 830e5a4 commit 098da83
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo && eslint index.*",
"lint": "xo --fix && remark . -qfo && eslint index.*",
"nyc": "cross-env NODE_ENV=test nyc ava",
"test": "npm run lint && npm run ava",
"test-coverage": "npm run lint && npm run nyc"
Expand All @@ -114,6 +114,12 @@
"space": true,
"extends": [
"xo-lass"
]
],
"rules": {
"node/no-mixed-requires": "off",
"node/no-new-require": "off",
"node/no-path-concat": "off",
"unicorn/prevent-abbreviations": "off"
}
}
}

0 comments on commit 098da83

Please sign in to comment.