Skip to content

Commit

Permalink
mithril first
Browse files Browse the repository at this point in the history
  • Loading branch information
ebsi-bblake committed Apr 19, 2023
1 parent cb4a3ae commit 93add4d
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions frameworks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ function sortAllFilenames(files, filenamesSorted) {
}

export default [
{
id: "mithril",
title: "Mithril v2",
img: "framework/mithril.svg",
eslint: {
env: {
browser: true,
es2021: true,
node: true,
},
files: ["**/mithril/**"],
extends: ["eslint:recommended"],
},
playgroundURL: "https://codesandbox.io/s/q99qzov66",
documentationURL: "https://mithril.js.org/",
filesSorter(files) {
return sortAllFilenames(files, ["index.html", "app.js"]);
},
},
{
id: "svelte",
title: "Svelte",
Expand Down Expand Up @@ -264,23 +283,5 @@ export default [
return sortAllFilenames(files, ["app.html", "app.ts"]);
},
},
{
id: "mithril",
title: "Mithril v2",
img: "framework/mithril.svg",
eslint: {
env: {
browser: true,
es2021: true,
node: true,
},
files: ["**/mithril/**"],
extends: ["eslint:recommended"],
},
playgroundURL: "https://codesandbox.io/s/q99qzov66",
documentationURL: "https://mithril.js.org/",
filesSorter(files) {
return sortAllFilenames(files, ["index.html", "app.js"]);
},
},

];

0 comments on commit 93add4d

Please sign in to comment.