Skip to content

Commit

Permalink
Apply linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Feb 10, 2021
1 parent adeee2b commit 65c7354
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
38 changes: 19 additions & 19 deletions source/app/mocks/api/github/graphql/licenses.default.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{key:"distribution", label:"Distribution"},
{key:"patent-use", label:"Patent use"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"Apache-2.0",
Expand All @@ -47,7 +47,7 @@
{key:"distribution", label:"Distribution"},
{key:"patent-use", label:"Patent use"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"BSD-2-Clause",
Expand All @@ -59,14 +59,14 @@
{key:"warranty", label:"Warranty"},
],
conditions:[
{key:"include-copyright", label:"License and copyright notice"}
{key:"include-copyright", label:"License and copyright notice"},
],
permissions:[
{key:"commercial-use", label:"Commercial use"},
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"BSD-3-Clause",
Expand All @@ -78,14 +78,14 @@
{key:"warranty", label:"Warranty"},
],
conditions:[
{key:"include-copyright", label:"License and copyright notice"}
{key:"include-copyright", label:"License and copyright notice"},
],
permissions:[
{key:"commercial-use", label:"Commercial use"},
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"BSL-1.0",
Expand All @@ -97,14 +97,14 @@
{key:"warranty", label:"Warranty"},
],
conditions:[
{key:"include-copyright--source", label:"License and copyright notice for source"}
{key:"include-copyright--source", label:"License and copyright notice for source"},
],
permissions:[
{key:"commercial-use", label:"Commercial use"},
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"CC0-1.0",
Expand All @@ -123,7 +123,7 @@
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"EPL-2.0",
Expand All @@ -145,7 +145,7 @@
{key:"modifications", label:"Modification"},
{key:"patent-use", label:"Patent use"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"GPL-2.0",
Expand All @@ -167,7 +167,7 @@
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"GPL-3.0",
Expand All @@ -182,15 +182,15 @@
{key:"include-copyright", label:"License and copyright notice"},
{key:"document-changes", label:"State changes"},
{key:"disclose-source", label:"Disclose source"},
{key:"same-license", label:"Same license"}
{key:"same-license", label:"Same license"},
],
permissions:[
{key:"commercial-use", label:"Commercial use"},
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"patent-use", label:"Patent use"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"LGPL-2.1",
Expand All @@ -212,7 +212,7 @@
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"MIT",
Expand All @@ -231,7 +231,7 @@
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"MPL-2.0",
Expand All @@ -254,7 +254,7 @@
{key:"distribution", label:"Distribution"},
{key:"patent-use", label:"Patent use"},
{key:"private-use", label:"Private use"},
]
],
},
{
spdxId:"Unlicense",
Expand All @@ -271,8 +271,8 @@
{key:"commercial-use", label:"Commercial use"},
{key:"modifications", label:"Modification"},
{key:"distribution", label:"Distribution"},
]
}
]
],
},
],
})
}
8 changes: 4 additions & 4 deletions source/app/mocks/api/github/graphql/licenses.repository.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
return ({
user:{
repository:{
licenseInfo:{ name:"MIT License"},
licenseInfo:{name:"MIT License"},
url:"https://github.com/lowlighter/metrics",
databaseId:293860197
}
}
databaseId:293860197,
},
},
})
}

0 comments on commit 65c7354

Please sign in to comment.