Skip to content

Commit

Permalink
Release 4.1.0 (#37)
Browse files Browse the repository at this point in the history
### Features

* Make `react/jsx-curly-brace-presence` warn instead of error
  • Loading branch information
dvvanessastoiber authored Jul 28, 2023
2 parents df9ffbf + 0c0ae44 commit 18f5fba
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 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
1 change: 1 addition & 0 deletions config/eslintrc.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ module.exports = ({ tsconfigRootDir }) => ({
'prefer-spread': 'warn',
'@typescript-eslint/ban-ts-comment': 'warn',
'react/destructuring-assignment': 'off',
'react/jsx-curly-brace-presence': 'warn',
'react/jsx-props-no-spreading': 'off',
'react/no-unused-class-component-methods': 'warn',
'react/prop-types': 'off',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visyn_scripts",
"description": "",
"version": "4.0.1",
"version": "4.1.0",
"author": {
"name": "datavisyn GmbH",
"email": "[email protected]",
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 18f5fba

Please sign in to comment.