Skip to content

Commit

Permalink
eslint-plugin-import config
Browse files Browse the repository at this point in the history
  • Loading branch information
leand committed May 22, 2017
1 parent 976c491 commit 2be5c06
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 66 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
{
"parser": "babel-eslint",
"extends": "standard",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true
},
"rules": {
"import/no-unresolved": [2]
},
"globals": {
"phaser": true
},
"settings": {
"import/core-modules": [ "phaser", "pixi", "p2" ]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
dist/
.vscode/
*.log
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,23 @@
"license": "MIT",
"devDependencies": {
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"browser-sync": "^2.18.8",
"browser-sync": "^2.18.12",
"browser-sync-webpack-plugin": "^1.1.4",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"expose-loader": "^0.7.3",
"webpack": "^2.5.0"
"webpack": "^2.5.1"
},
"dependencies": {
"phaser-ce": "^2.7.7",
"phaser-ce": "^2.7.9",
"webfontloader": "^1.6.27"
}
}
Loading

0 comments on commit 2be5c06

Please sign in to comment.