File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
root : true
2
2
3
3
extends :
4
- - plugin:@mysticatea/es2020
4
+ - plugin:@eslint-community/ mysticatea/es2020
5
5
6
6
rules :
7
- " @mysticatea/prettier " : " off"
7
+ " @eslint-community/ mysticatea/prettier " : " off"
8
8
9
9
overrides :
10
10
- files :
11
11
- src/**/*.js
12
12
- test/**/*.js
13
13
extends :
14
- - plugin:@mysticatea/+modules
14
+ - plugin:@eslint-community/ mysticatea/+modules
15
15
rules :
16
16
init-declarations : " off"
17
- " @mysticatea/node/no-unsupported-features/es-syntax " :
17
+ " @eslint-community/ mysticatea/node/no-unsupported-features/es-syntax " :
18
18
- error
19
19
- ignores : [modules]
Original file line number Diff line number Diff line change 19
19
"./package.json" : " ./package.json"
20
20
},
21
21
"dependencies" : {
22
- "eslint-visitor-keys" : " ^2.1 .0"
22
+ "eslint-visitor-keys" : " ^3.3 .0"
23
23
},
24
24
"devDependencies" : {
25
- "@mysticatea /eslint-plugin" : " ^13.0 .0" ,
26
- "dot-prop" : " ^4.2 .1" ,
25
+ "@eslint-community /eslint-plugin-mysticatea " : " ^15.2 .0" ,
26
+ "dot-prop" : " ^6.0 .1" ,
27
27
"eslint" : " ^7.32.0" ,
28
28
"esm" : " ^3.2.25" ,
29
29
"espree" : " github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444" ,
30
- "mocha" : " ^6.2.3 " ,
30
+ "mocha" : " ^8.4.0 " ,
31
31
"npm-run-all" : " ^4.1.5" ,
32
- "nyc" : " ^14 .1.1 " ,
32
+ "nyc" : " ^15 .1.0 " ,
33
33
"opener" : " ^1.5.2" ,
34
34
"prettier" : " 2.7.1" ,
35
35
"rimraf" : " ^3.0.2" ,
53
53
"format" : " npm run -s format:prettier -- --write" ,
54
54
"format:prettier" : " prettier docs/.vuepress/config.js src/**/*.js test/**/*.js rollup.config.js .vscode/*.json *.json .github/**/*.yml *.yml docs/**/*.md *.md" ,
55
55
"format:check" : " npm run -s format:prettier -- --check" ,
56
- "lint" : " eslint docs/.vuepress/config.js src test rollup.config.js " ,
56
+ "lint" : " eslint . " ,
57
57
"test" : " nyc mocha --reporter dot \" test/*.js\" " ,
58
58
"preversion" : " npm test && npm run -s build" ,
59
59
"postversion" : " git push && git push --tags" ,
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const operations = Object.freeze({
228
228
case "%" :
229
229
return { value : left . value % right . value }
230
230
case "**" :
231
- return { value : Math . pow ( left . value , right . value ) }
231
+ return { value : left . value ** right . value }
232
232
case "|" :
233
233
return { value : left . value | right . value }
234
234
case "^" :
Original file line number Diff line number Diff line change 1
- import evk from "eslint-visitor-keys"
1
+ import * as evk from "eslint-visitor-keys"
2
2
3
3
const typeConversionBinaryOps = Object . freeze (
4
4
new Set ( [
You can’t perform that action at this time.
0 commit comments