Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e9912b

Browse files
--wip-- [skip ci]
1 parent 4c65486 commit 2e9912b

File tree

17 files changed

+166
-157
lines changed

17 files changed

+166
-157
lines changed

‎.eslintignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/runtimes/**
2+
src/data-structures/maps/hash-maps/hashing.js
3+
src/data-structures/maps/hash-maps/*-test.js
4+
src/data-structures/maps/hash-maps/hash-map-*.js
5+
src/data-structures/linked-lists/linked-list-*.js
6+
src/data-structures/custom/lru-cache-*.js

‎.eslintrc.js‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
module.exports = {
2-
"extends": "airbnb-base",
3-
"env": {
4-
"jest": true
2+
extends: 'airbnb-base',
3+
env: {
4+
jest: true
5+
},
6+
globals: {
7+
BigInt: true,
58
},
69
rules: {
710
// https://github.com/airbnb/javascript/issues/1089
811

912
// https://stackoverflow.com/a/35637900/684957
1013
// allow to add properties to arguments
11-
"no-param-reassign": [2, { "props": false }],
14+
'no-param-reassign': [2, { 'props': false }],
1215

1316
// https://eslint.org/docs/rules/no-plusplus
1417
// allows unary operators ++ and -- in the afterthought (final expression) of a for loop.
15-
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
18+
'no-plusplus': [2, { 'allowForLoopAfterthoughts': true }],
1619

1720
// Allow for..of
18-
"no-restricted-syntax": [0, "ForOfStatement"],
19-
},
20-
globals: {
21-
BigInt: true,
21+
'no-restricted-syntax': [0, 'ForOfStatement'],
2222
}
2323
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /