Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
feat(plugin): upgrade eslint-plugin-import to 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Jun 25, 2018
1 parent 7586a6f commit 501615d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
40 changes: 15 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"dependencies": {
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.4.0"
},
Expand Down
6 changes: 6 additions & 0 deletions unused.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,11 @@ module.exports = {

// Enforces a consistent naming pattern for type aliases.
'flowtype/type-id-match': 0,


// Disallow relative imports from parent directories
// Unused, too restrictive, although I do agree about imorting stuff from parent modules'
// subdirectories is generally a bad idea... ⚠️
'import/no-relative-parent-imports': 0,
},
}

0 comments on commit 501615d

Please sign in to comment.