Skip to content

Commit

Permalink
Update to eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed May 3, 2024
1 parent 5a5f928 commit fa5d9f7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/wasm/.eslintignore

This file was deleted.

14 changes: 14 additions & 0 deletions crates/wasm/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default [
{ files: ["**/*.js"] },
{
ignores: [
"**/*min.js",
"**/advent_of_code_wasm.js",
"**/dist",
"**/generated",
"**/target",
"/aoc.fornwall.net/",
"site/static/boostrap.min.css*",
],
},
];
5 changes: 3 additions & 2 deletions crates/wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"type": "module",
"name": "advent-of-code-eslint-checker",
"version": "1.0.0",
"description": "Project to run eslint",
"scripts": {
"check": "eslint . --ext .js && prettier --check .",
"fix": "eslint --fix **/*.js",
"check": "eslint . && prettier --check .",
"fix": "eslint --fix",
"format": "prettier --write ."
},
"author": "",
Expand Down

1 comment on commit fa5d9f7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@                     Benchmark Difference                     @@
#      Name   Old (instructions)   New (instructions)   Change (%)
   2023_1_1            1,470,554            1,470,554            0
   2023_1_2            1,443,136            1,443,136            0
   2023_2_1              620,177              620,177            0
   2023_2_2              595,020              595,020            0
   2023_3_1              745,492              745,492            0
   2023_3_2              580,459              580,459            0
   2023_4_1              895,928              895,928            0
   2023_4_2              907,144              907,144            0
   2023_5_1              601,580              601,580            0
   2023_5_2              723,935              723,935            0
   2023_6_1                3,567                3,567            0
   2023_6_2                2,562                2,562            0
   2023_7_1              657,946              657,946            0
   2023_7_2              649,918              649,918            0
   2023_8_1            1,180,665            1,180,665            0
   2023_8_2            2,585,797            2,585,797            0
   2023_9_1              763,143              763,143            0
   2023_9_2              774,870              774,870            0
  2023_10_1            3,042,064            3,042,064            0
  2023_10_2            3,612,538            3,612,538            0
  2023_11_1            2,748,454            2,748,454            0
  2023_11_2            2,748,478            2,748,478            0
  2023_12_1            4,325,826            4,325,826            0
  2023_12_2           68,431,524           68,431,524            0
  2023_13_1              567,707              567,707            0
  2023_13_2              568,661              568,661            0
  2023_14_1              816,942              816,949            0
  2023_14_2          293,978,832          293,978,846            0
  2023_15_1              762,569              762,569            0
  2023_15_2            1,045,149            1,045,149            0
  2023_16_1            1,045,361            1,045,368            0
  2023_16_2          216,026,239          216,029,319            0
  2023_17_1          222,730,410          222,730,410            0
  2023_17_2          678,740,234          678,740,234            0
  2023_18_1              327,190              327,190            0
  2023_18_2              415,267              415,267            0
  2023_19_1            2,859,292            2,859,324            0
  2023_19_2            1,793,338            1,793,370            0
  2023_20_1            4,622,698            4,622,698            0
  2023_20_2           18,087,777           18,087,777            0
  2023_21_1           83,478,807           83,478,807            0
  2023_21_2            6,902,991            6,902,991            0
  2023_22_1           23,852,443           23,852,443            0
  2023_22_2          304,874,034          304,874,034            0
  2023_23_1            1,660,891            1,660,827            0
  2023_23_2        1,129,458,420        1,129,458,356            0
  2023_24_1           15,586,761           15,586,761            0
  2023_24_2            1,144,022            1,144,022            0
  2023_25_1            4,703,824            4,703,792            0
Benchmark Instructions (count) Instructions (%)
2023_23_2 1,129,458,356 36.2
2023_17_2 678,740,234 21.8
2023_22_2 304,874,034 9.8
2023_14_2 293,978,846 9.4
2023_17_1 222,730,410 7.1
2023_16_2 216,029,319 6.9
2023_21_1 83,478,807 2.7
2023_12_2 68,431,524 2.2
2023_22_1 23,852,443 0.8
2023_20_2 18,087,777 0.6
2023_24_1 15,586,761 0.5
2023_21_2 6,902,991 0.2
2023_25_1 4,703,792 0.2
2023_20_1 4,622,698 0.1
2023_12_1 4,325,826 0.1
2023_10_2 3,612,538 0.1
2023_10_1 3,042,064 0.1
2023_19_1 2,859,324 0.1
2023_11_2 2,748,478 0.1
2023_11_1 2,748,454 0.1
2023_8_2 2,585,797 0.1
2023_19_2 1,793,370 0.1
2023_23_1 1,660,827 0.1
2023_1_1 1,470,554 0.0
2023_1_2 1,443,136 0.0
2023_8_1 1,180,665 0.0
2023_24_2 1,144,022 0.0
2023_16_1 1,045,368 0.0
2023_15_2 1,045,149 0.0
2023_4_2 907,144 0.0
2023_4_1 895,928 0.0
2023_14_1 816,949 0.0
2023_9_2 774,870 0.0
2023_9_1 763,143 0.0
2023_15_1 762,569 0.0
2023_3_1 745,492 0.0
2023_5_2 723,935 0.0
2023_7_1 657,946 0.0
2023_7_2 649,918 0.0
2023_2_1 620,177 0.0
2023_5_1 601,580 0.0
2023_2_2 595,020 0.0
2023_3_2 580,459 0.0
2023_13_2 568,661 0.0
2023_13_1 567,707 0.0
2023_18_2 415,267 0.0
2023_18_1 327,190 0.0
2023_6_1 3,567 0.0
2023_6_2 2,562 0.0

Please sign in to comment.