Skip to content

Commit

Permalink
Disable destruct on assignment (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Mar 11, 2024
1 parent 6f0018d commit edf236a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 1999-2023 Ibexa AS (formerly eZ Systems AS). All rights reserved.
Copyright (C) 1999-2024 Ibexa AS (formerly eZ Systems AS). All rights reserved.

This source code is available separately under the following licenses:

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 1999-2023 Ibexa AS (formerly eZ Systems AS). All rights reserved.
Copyright (C) 1999-2024 Ibexa AS (formerly eZ Systems AS). All rights reserved.

This source code is available separately under the following licenses:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Change its permissions to executable. Run it from main project directory.
It will install modules in all bundles.

## COPYRIGHT
Copyright (C) 1999-2023 Ibexa AS (formerly eZ Systems AS). All rights reserved.
Copyright (C) 1999-2024 Ibexa AS (formerly eZ Systems AS). All rights reserved.

## LICENSE
This source code is available separately under the following licenses:
Expand Down
11 changes: 10 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@ module.exports = {
"no-var": "error",
"object-curly-spacing": ["error", "always"],
"prefer-const": "error",
"prefer-destructuring": ["error", { array: false, object: true }, { enforceForRenamedProperties: false }],
"prefer-destructuring": ["error", {
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
}, { enforceForRenamedProperties: false }],
"prefer-object-spread": "error",
"prefer-template": "error",
"quotes": ["error", "single", { allowTemplateLiterals: true }],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-ibexa",
"version": "1.1.0",
"version": "1.1.1",
"repository": "[email protected]:ibexa/eslint-config-ibexa.git",
"private": true,
"dependencies": {
Expand Down

0 comments on commit edf236a

Please sign in to comment.