Skip to content

Commit e546cc4

Browse files
committed
👌 Run scripts/sync
1 parent 3f2fda7 commit e546cc4

File tree

5 files changed

+45
-23
lines changed

5 files changed

+45
-23
lines changed

exercises/concept/errors/.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"ecmaVersion": 7,
66
"sourceType": "module"
77
},
8+
"globals": {
9+
"BigInt": true
10+
},
811
"env": {
912
"es6": true,
1013
"node": true,

exercises/concept/errors/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
audit=false

exercises/concept/errors/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Exercism
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
module.exports = {
22
presets: [
33
[
4-
'@babel/env',
4+
'@babel/preset-env',
55
{
66
targets: {
77
node: 'current',
88
},
9-
useBuiltIns: false,
9+
useBuiltIns: 'entry',
10+
corejs: 3,
1011
},
1112
],
1213
],
14+
plugins: ['@babel/plugin-syntax-bigint'],
1315
};
Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,31 @@
11
{
22
"name": "@exercism/javascript-concept-errors",
33
"author": "Tom Pradat <tom.pradat@gmail.com>",
4-
"version": "1.0.0",
5-
"license": "MIT",
64
"private": true,
75
"repository": {
86
"type": "git",
9-
"url": "https://github.com/exercism/language-concepts.git",
7+
"url": "https://github.com/exercism/javascript",
108
"directory": "languages/javascript/exercises/concept/errors"
119
},
1210
"devDependencies": {
13-
"@babel/cli": "^7.8.4",
14-
"@babel/core": "^7.9.6",
15-
"@babel/preset-env": "^7.9.6",
16-
"@types/jest": "^25.2.2",
17-
"@types/node": "^14.0.1",
11+
"@babel/cli": "^7.13.0",
12+
"@babel/core": "^7.13.1",
13+
"@babel/plugin-syntax-bigint": "^7.8.3",
14+
"@babel/preset-env": "^7.13.5",
15+
"@types/jest": "^26.0.20",
16+
"@types/node": "^14.14.31",
1817
"babel-eslint": "^10.1.0",
19-
"babel-jest": "^26.0.1",
20-
"eslint": "^7.0.0",
21-
"eslint-plugin-import": "^2.20.2",
22-
"jest": "^26.0.1"
23-
},
24-
"dependencies": {},
25-
"jest": {
26-
"modulePathIgnorePatterns": [
27-
"package.json"
28-
]
18+
"babel-jest": "^26.6.3",
19+
"core-js": "^3.9.0",
20+
"eslint": "^7.20.0",
21+
"eslint-plugin-import": "^2.22.1",
22+
"jest": "^26.6.3"
2923
},
3024
"scripts": {
3125
"test": "jest --no-cache ./*",
3226
"watch": "jest --no-cache --watch ./*",
33-
"lint": "eslint .",
34-
"lint-test": "eslint . && jest --no-cache ./* "
35-
}
27+
"lint": "eslint ."
28+
},
29+
"license": "MIT",
30+
"dependencies": {}
3631
}

0 commit comments

Comments
 (0)