Permalink
Browse files

Fix: Use the right scope for third party code

Close #1358
  • Loading branch information...
molant authored and alrra committed Oct 1, 2018
1 parent 1b099c3 commit 27b16cd988387f9d645acf8305afd0d383446c82
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/hint/src/lib/utils/resource-loader.ts
@@ -342,7 +342,7 @@ export const loadResource = (name: string, type: ResourceType, configurations: A
[path.resolve(currentProcessDir, name)] : // If the name is direct path to the source we should only check that
[
`@hint/${type}-${packageName}`, // Officially supported package
`hint-${type}-${packageName}`, // Third party package
`webhint-${type}-${packageName}`, // Third party package
path.normalize(`${HINT_ROOT}/dist/src/lib/${type}s/${packageName}/${packageName}.js`), // Part of core. E.g.: built-in formatters, parsers, connectors
path.normalize(currentProcessDir) // External hints.
// path.normalize(`${path.resolve(HINT_ROOT, '..')}/${key}`) // Things under `/packages/` for when we are developing something official. E.g.: `/packages/hint-http-cache`

0 comments on commit 27b16cd

Please sign in to comment.