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

Commit 501615d

Browse files
feat(plugin): upgrade eslint-plugin-import to 2.13
1 parent 7586a6f commit 501615d

File tree

3 files changed

+22
-26
lines changed

3 files changed

+22
-26
lines changed

package-lock.json

+15-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"dependencies": {
1818
"eslint-plugin-flowtype": "^2.39.1",
19-
"eslint-plugin-import": "^2.11.0",
19+
"eslint-plugin-import": "^2.13.0",
2020
"eslint-plugin-jsx-a11y": "^6.0.3",
2121
"eslint-plugin-react": "^7.4.0"
2222
},

unused.js

+6
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,11 @@ module.exports = {
173173

174174
// Enforces a consistent naming pattern for type aliases.
175175
'flowtype/type-id-match': 0,
176+
177+
178+
// Disallow relative imports from parent directories
179+
// Unused, too restrictive, although I do agree about imorting stuff from parent modules'
180+
// subdirectories is generally a bad idea... ⚠️
181+
'import/no-relative-parent-imports': 0,
176182
},
177183
}

0 commit comments

Comments
 (0)