Skip to content

Commit

Permalink
3.2.1: Disable import/newline-after-import
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Dec 22, 2016
1 parent 7f59408 commit e33b321
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-aftership",
"description": "AfterShip ESLint config (modified from Airbnb)",
"version": "3.2.0",
"version": "3.2.1",
"homepage": "https://github.com/AfterShip/eslint-config-aftership",
"author": {
"name": "AfterShip",
Expand Down
4 changes: 4 additions & 0 deletions rules/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ module.exports = {
/*++++++++++++++++
+ Other plugins +
++++++++++++++++*/
// Disable it because it will throw errors when cannot resolve the path (like using resolve.alias in webpack)
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
'import/extensions': 'off',

// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md
'import/newline-after-import': 'off',

Expand Down

0 comments on commit e33b321

Please sign in to comment.