Skip to content

Commit

Permalink
chore(linting): resolve linting
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed May 14, 2018
1 parent 8f6f1db commit 80c9e9a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
22 changes: 11 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ module.exports = {
"resolvePaths": ["./packages"],
"allowModules": [
"webpack",
"webpack-cli-generators",
"webpack-cli-init",
"webpack-cli-migrate",
"webpack-cli-utils",
"webpack-loader-generators",
"webpack-plugin-generators"
"@webpack-cli/generators",
"@webpack-cli/init",
"@webpack-cli/migrate",
"@webpack-cli/utils",
"@webpack-cli/generate-loader",
"@webpack-cli/generate-plugin"
]
}
],
Expand All @@ -92,11 +92,11 @@ module.exports = {
"error",
{
"allowModules": [
"webpack-cli-migrate",
"webpack-cli-generators",
"webpack-cli-utils",
"webpack-loader-generators",
"webpack-plugin-generators"
"@webpack-cli/migrate",
"@webpack-cli/generators",
"@webpack-cli/utils",
"@webpack-cli/generate-loader",
"@webpack-cli/generate-plugin"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/generators/add-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Input = require("webpack-addons").Input;

const webpackSchema = require("webpack/schemas/WebpackOptions");
const webpackDevServerSchema = require("webpack-dev-server/lib/optionsSchema.json");
const PROP_TYPES = require("@webpack-utils/utils/prop-types");
const PROP_TYPES = require("@webpack-cli/utils/prop-types");

const getPackageManager = require("@webpack-cli/utils/package-manager")
.getPackageManager;
Expand Down
2 changes: 1 addition & 1 deletion packages/generators/addon-generator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require("path");
const mkdirp = require("mkdirp");
const Generator = require("yeoman-generator");
const copyUtils = require("webpack-cli-utils/copy-utils");
const copyUtils = require("@webpack-cli/utils/copy-utils");

/**
* Creates a Yeoman Generator that generates a project conforming
Expand Down
2 changes: 1 addition & 1 deletion packages/generators/init-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Input = require("webpack-addons").Input;
const Confirm = require("webpack-addons").Confirm;
const List = require("webpack-addons").List;

const getPackageManager = require("webpack-cli-utils/package-manager")
const getPackageManager = require("@webpack-cli/utils/package-manager")
.getPackageManager;

const entryQuestions = require("./utils/entry");
Expand Down
3 changes: 2 additions & 1 deletion packages/generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"mkdirp": "^0.5.1",
"webpack-addons": "^1.1.5",
"webpack-dev-server": "^3.1.4",
"yeoman-generator": "^2.0.5"
"yeoman-generator": "^2.0.5",
"@webpack-cli/utils": "0.0.1"
},
"peerDependencies": {
"webpack": "^4.0.0"
Expand Down

0 comments on commit 80c9e9a

Please sign in to comment.