Skip to content

Commit 2087a4d

Browse files
authored
Merge pull request #24 from codacy/add-new-languages
Add new languages
2 parents 53e1a91 + 041989a commit 2087a4d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/main/scala/com/codacy/plugins/api/languages/Language.scala

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ object Languages {
119119
Prolog,
120120
Julia,
121121
Kotlin,
122+
Powershell,
123+
Solidity,
122124
OCaml)
123125

124126
// Support startdate: always
@@ -218,10 +220,15 @@ object Languages {
218220
// Support startdate: September 2017
219221
case object Kotlin extends Language(extensions = Set(".kt", ".kts"))
220222

221-
// Soon
222-
223+
// Support startdate: June 2018
223224
case object Elixir extends Language(extensions = Set(".ex", ".exs"))
224225

226+
// Support startdate: August 2018
227+
case object Powershell
228+
extends Language(extensions = Set(".ps1", ".psc1", ".psd1", ".psm1", ".ps1xml", ".pssc", ".cdxml", ".clixml"))
229+
230+
// Soon
231+
225232
case object Clojure extends Language(extensions = Set(".clj", ".cljs", ".cljc", ".edn"))
226233

227234
case object Rust extends Language(extensions = Set(".rs", ".rlib"))
@@ -268,4 +275,6 @@ object Languages {
268275

269276
case object OCaml extends Language(extensions = Set(".ml", ".mli", ".mly", ".mll"))
270277

278+
case object Solidity extends Language(extensions = Set(".sol"))
279+
271280
}

0 commit comments

Comments
 (0)