mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-11 14:46:37 +03:00
Summary: Adds a lint rule that rejects imports such as the following: ```js import ECMAScriptSourceFunctionValue from "../../lib/values/ECMAScriptSourceFunctionValue.js"; ``` The path should contain `src` instead of `lib`. Pull Request resolved: https://github.com/facebook/prepack/pull/2604 Differential Revision: D10432286 Pulled By: sb98052 fbshipit-source-id: 55542de99643a7bf49f8a290a35af35f9b795c7b
6 lines
56 B
Plaintext
6 lines
56 B
Plaintext
{
|
|
"rules": {
|
|
"no-restricted-imports": "off"
|
|
}
|
|
}
|