Skip to content

Commit

Permalink
Update eslint-plugin-wyze and use recommended config
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Mar 5, 2016
1 parent 0121e9a commit d894d3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 6 additions & 5 deletions base.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module.exports = {
extends: [
'eslint-config-airbnb/base',
'./rules/best-practices',
'./rules/es6',
'./rules/style'
].map(require.resolve),
'airbnb/base',
'plugin:wyze/recommended',
'./rules/best-practices.js',
'./rules/es6.js',
'./rules/style.js'
],
parser: 'babel-eslint'
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"babel-eslint": "^5.0.0",
"eslint-config-airbnb": "^6.0.0",
"eslint-plugin-wyze": "^1.0.0"
"eslint-plugin-wyze": "^1.2.0"
},
"peerDependencies": {
"eslint": "^2.0.0",
Expand Down
5 changes: 1 addition & 4 deletions rules/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ module.exports = {
// import sorting
// http://eslint.org/docs/rules/sort-imports
// disabled in favor of `wyze/sort-imports`
'sort-imports': 0,
// import sorting by default vs named
// https://github.com/wyze/eslint-plugin-wyze/docs/rules/sort-imports.md
'wyze/sort-imports': 2
'sort-imports': 0
}
};

0 comments on commit d894d3f

Please sign in to comment.