Skip to content

Commit

Permalink
feat(eslint-plugin-algolia): Use v1.4.2
Browse files Browse the repository at this point in the history
Comes with:
- force-import-root
- no-require
  • Loading branch information
Jerska committed Dec 7, 2015
1 parent fc7a455 commit 8789350
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint": "^1.7.3",
"eslint-config-airbnb": "^0.1.0",
"eslint-config-algolia": "latest",
"eslint-plugin-algolia": "^1.0.3",
"eslint-plugin-algolia": "^1.4.2",
"eslint-plugin-react": "^3.6.3"
}
}
6 changes: 5 additions & 1 deletion rules/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ module.exports = {
parser: 'babel-eslint',
plugins: ['algolia'],
rules: {
'algolia/relative-require': 2
'algolia/relative-require': 2,
// Don't force ES6 yet
// ES6 projects should override these
'algolia/force-import-root': 0, // Recommended 2
'algolia/no-require': 0 // Recommended 1
}
};

0 comments on commit 8789350

Please sign in to comment.