Skip to content
Prev Previous commit
Next Next commit
Add Meteor Guide recommended eslint configuration
  • Loading branch information
brylie committed Aug 30, 2016
commit 22e78924b7653c62d4f50f7e1dd6afe6159ea868
20 changes: 19 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,25 @@
"eslint-plugin-meteor": "^4.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "eslint .",
"pretest": "npm run lint --silent"
},
"eslintConfig": {
"parser": "babel-eslint",
"parserOptions": {
"allowImportExportEverywhere": true
},
"plugins": [
"meteor"
],
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
"settings": {
"import/resolver": "meteor"
},
"rules": {}
},
"repository": {
"type": "git",
Expand Down