Skip to content

Commit

Permalink
build(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (#2444
Browse files Browse the repository at this point in the history
)

* build(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v41.0.1...v42.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and bmish committed Jun 16, 2022
1 parent e525a3f commit 975ddc5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion lib/get-editor-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export default class EditorConfigResolver {
}
parseFromConfigs(configs, filepath) {
return this.processMatches(
// eslint-disable-next-line unicorn/prefer-object-from-entries
configs.reverse().reduce((matches, file) => {
const pathPrefix = path.dirname(file.name);
for (const section of file.contents) {
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function getLocalName(node) {
case 'Block':
case 'MustacheCommentStatement':
return undefined;
case 'PathExpression':
// case 'PathExpression':
default:
return node.parts.length ? node.parts[0] : undefined;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-context-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ROOTS = {
const CHILDREN_FOR_ANALYZE = new Set(
Object.keys(ROOTS).reduce((acc, keyName) => [...acc, ...ROOTS[keyName]], [])
);
// eslint-disable-next-line unicorn/prefer-object-from-entries

const VALID_PARENTS_FOR_CHILD = Object.keys(ROOTS).reduce((result, keyName) => {
const children = ROOTS[keyName];
for (const childName of children) {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"eslint-plugin-import-helpers": "^1.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unicorn": "^41.0.1",
"eslint-plugin-unicorn": "^42.0.0",
"execa": "^6.1.0",
"fixturify-project": "^4.1.2",
"jest": "^28.1.1",
Expand Down

0 comments on commit 975ddc5

Please sign in to comment.