-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c65486
commit 2e9912b
Showing
17 changed files
with
166 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/runtimes/** | ||
src/data-structures/maps/hash-maps/hashing.js | ||
src/data-structures/maps/hash-maps/*-test.js | ||
src/data-structures/maps/hash-maps/hash-map-*.js | ||
src/data-structures/linked-lists/linked-list-*.js | ||
src/data-structures/custom/lru-cache-*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
module.exports = { | ||
"extends": "airbnb-base", | ||
"env": { | ||
"jest": true | ||
extends: 'airbnb-base', | ||
env: { | ||
jest: true | ||
}, | ||
globals: { | ||
BigInt: true, | ||
}, | ||
rules: { | ||
// https://github.com/airbnb/javascript/issues/1089 | ||
|
||
// https://stackoverflow.com/a/35637900/684957 | ||
// allow to add properties to arguments | ||
"no-param-reassign": [2, { "props": false }], | ||
'no-param-reassign': [2, { 'props': false }], | ||
|
||
// https://eslint.org/docs/rules/no-plusplus | ||
// allows unary operators ++ and -- in the afterthought (final expression) of a for loop. | ||
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }], | ||
'no-plusplus': [2, { 'allowForLoopAfterthoughts': true }], | ||
|
||
// Allow for..of | ||
"no-restricted-syntax": [0, "ForOfStatement"], | ||
}, | ||
globals: { | ||
BigInt: true, | ||
'no-restricted-syntax': [0, 'ForOfStatement'], | ||
} | ||
}; |
Oops, something went wrong.