File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11root : true
22
33extends :
4- - plugin:@mysticatea/es2020
4+ - plugin:@eslint-community/ mysticatea/es2020
55
66rules :
7- " @mysticatea/prettier " : " off"
7+ " @eslint-community/ mysticatea/prettier " : " off"
88
99overrides :
1010 - files :
1111 - src/**/*.js
1212 - test/**/*.js
1313 extends :
14- - plugin:@mysticatea/+modules
14+ - plugin:@eslint-community/ mysticatea/+modules
1515 rules :
1616 init-declarations : " off"
17- " @mysticatea/node/no-unsupported-features/es-syntax " :
17+ " @eslint-community/ mysticatea/node/no-unsupported-features/es-syntax " :
1818 - error
1919 - ignores : [modules]
Original file line number Diff line number Diff line change 1919 "./package.json" : " ./package.json"
2020 },
2121 "dependencies" : {
22- "eslint-visitor-keys" : " ^2.1 .0"
22+ "eslint-visitor-keys" : " ^3.3 .0"
2323 },
2424 "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" ,
2727 "eslint" : " ^7.32.0" ,
2828 "esm" : " ^3.2.25" ,
2929 "espree" : " github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444" ,
30- "mocha" : " ^6.2.3 " ,
30+ "mocha" : " ^8.4.0 " ,
3131 "npm-run-all" : " ^4.1.5" ,
32- "nyc" : " ^14 .1.1 " ,
32+ "nyc" : " ^15 .1.0 " ,
3333 "opener" : " ^1.5.2" ,
3434 "prettier" : " 2.7.1" ,
3535 "rimraf" : " ^3.0.2" ,
5353 "format" : " npm run -s format:prettier -- --write" ,
5454 "format:prettier" : " prettier docs/.vuepress/config.js src/**/*.js test/**/*.js rollup.config.js .vscode/*.json *.json .github/**/*.yml *.yml docs/**/*.md *.md" ,
5555 "format:check" : " npm run -s format:prettier -- --check" ,
56- "lint" : " eslint docs/.vuepress/config.js src test rollup.config.js " ,
56+ "lint" : " eslint . " ,
5757 "test" : " nyc mocha --reporter dot \" test/*.js\" " ,
5858 "preversion" : " npm test && npm run -s build" ,
5959 "postversion" : " git push && git push --tags" ,
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const operations = Object.freeze({
228228 case "%" :
229229 return { value : left . value % right . value }
230230 case "**" :
231- return { value : Math . pow ( left . value , right . value ) }
231+ return { value : left . value ** right . value }
232232 case "|" :
233233 return { value : left . value | right . value }
234234 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"
22
33const typeConversionBinaryOps = Object . freeze (
44 new Set ( [
You can’t perform that action at this time.
0 commit comments