Skip to content

Commit

Permalink
fix: yarn run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkh committed Jul 28, 2023
1 parent e78f323 commit 0c0ae44
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/commands/generator/BasePhoveaGenerator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-underscore-dangle */
const path = require('path');
const Generator = require('yeoman-generator');
const { merge, template } = require('lodash');
const path = require('path');
const glob = require('glob').sync;
const fs = require('fs-extra');
const GeneratorUtils = require('./utils/GeneratorUtils');
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/generator/setup-workspace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
/* eslint-disable no-param-reassign */
/* eslint-disable prefer-destructuring */
/* eslint-disable no-underscore-dangle */
const path = require('path');
const Base = require('yeoman-generator');
const chalk = require('chalk');
const fs = require('fs-extra');
const path = require('path');
const RepoUtils = require('../utils/RepoUtils');
const SpawnUtils = require('../utils/SpawnUtils');
const WorkspaceUtils = require('../utils/WorkspaceUtils');
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/generator/update/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-underscore-dangle */
const fs = require('fs');
const chalk = require('chalk');
const Base = require('yeoman-generator');
const fs = require('fs');

function extractFromReadme(content) {
const safe = (p) => (p ? p[1] : '');
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/generator/utils/GeneratorUtils.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable global-require */
/* eslint-disable no-underscore-dangle */
/* eslint-disable no-promise-executor-return */
const path = require('path');
const fs = require('fs-extra');
const yeoman = require('yeoman-environment');
const path = require('path');
const { isError } = require('lodash');

module.exports = class GeneratorUtils {
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/generator/workspace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
/* eslint-disable prefer-destructuring */
/* eslint-disable no-underscore-dangle */
const path = require('path');
const fs = require('fs');
const glob = require('glob').sync;
const chalk = require('chalk');
const { extend } = require('lodash');
const _ = require('lodash');
const fs = require('fs');
const yaml = require('yamljs');
const NpmUtils = require('../utils/NpmUtils');
const PipUtils = require('../utils/PipUtils');
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/product-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
/* eslint-disable no-plusplus */
/* eslint-disable no-continue */
/* eslint-disable no-restricted-syntax */
const Promise = require('bluebird');
const path = require('path');
const Promise = require('bluebird');
const fs = Promise.promisifyAll(require('fs-extra'));
const chalk = require('chalk');
const GeneratorUtils = require('./generator/utils/GeneratorUtils');
Expand Down
2 changes: 1 addition & 1 deletion tests/standalone.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fse = require('fs-extra');
const fs = require('fs');
const { resolve } = require('path');
const { execSync } = require('child_process');
const fse = require('fs-extra');
const { setup: setupDevServer, teardown: teardownDevServer } = require('jest-dev-server');

// Mock setup of yargs inspired by https://www.kgajera.com/blog/how-to-test-yargs-cli-with-jest/
Expand Down

0 comments on commit 0c0ae44

Please sign in to comment.