Skip to content

Commit e0077c0

Browse files
committed
chore(*): move to let/const
1 parent 588d564 commit e0077c0

File tree

222 files changed

+59593
-62040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+59593
-62040
lines changed

.eslintrc

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
{
22
"extends": [
3-
"prettier"
3+
"prettier",
4+
"eslint:recommended"
45
],
5-
"parserOptions": {
6-
"ecmaVersion": 2017,
7-
},
6+
"parserOptions": {
7+
"ecmaVersion": 2017
8+
},
89
"plugins": [
9-
"markdown",
10-
"async-await"
10+
"markdown",
11+
"async-await"
1112
],
1213
"env": {
1314
"node": true
15+
},
16+
"rules": {
17+
"prefer-const": "error",
18+
"no-var": "error",
19+
"no-use-before-define": "error",
20+
"strict": ["error", "global"]
1421
}
1522
}

.travis.yml

-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ notifications:
2424
email: false
2525

2626
script:
27-
- nvm ls-remote
2827
- docker run -d -e MYSQL_ALLOW_EMPTY_PASSWORD=1 -e MYSQL_DATABASE=test -p 33306:3306 mysql:5.7
2928
- MYSQL_PORT=33306 node tools/wait-up.js
30-
- node --version
3129
- yarn --version
3230
- if [ "$LINT" = "1" ]; then yarn run lint; fi
3331
- MYSQL_PORT=33306 yarn run test:raw

appveyor.yml

-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ before_test:
3232

3333
test_script:
3434
- mysql --version
35-
- node --version
36-
- yarn --version
3735
- if "%LINT%"=="1" (yarn run lint)
3836
- node test/run.js
3937
- SET MYSQL_USE_COMPRESSION=1

benchmarks/.eslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": {
3+
"no-console": "off"
4+
}
5+
}

0 commit comments

Comments
 (0)