Skip to content

Commit b5f3da3

Browse files
committed
chore: fix unnamed default export
1 parent 7db731d commit b5f3da3

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

lib/grammars/fortran.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const FortranModern = FortranFreeForm
2525
const FortranPunchcard = FortranFixedForm
2626

2727
const Fortran = {
28-
"Fortran": FortranModern,
28+
Fortran: FortranModern,
2929
"Fortran - Fixed Form": FortranFixedForm,
3030
"Fortran - Free Form": FortranFreeForm,
3131
"Fortran - Modern": FortranModern,

lib/grammars/lisp.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import _ from "underscore"
44
import GrammarUtils from "../grammar-utils"
55

6-
export default {
6+
const LispGrammars = {
77
"Common Lisp": {
88
"File Based": {
99
command: "clisp",
@@ -62,3 +62,4 @@ export default {
6262
},
6363
},
6464
}
65+
export default LispGrammars

lib/grammars/ml.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import GrammarUtils from "../grammar-utils"
99
const { command } = GrammarUtils
1010

11-
const windows = GrammarUtils.OperatingSystem.isWindows()
11+
// const windows = GrammarUtils.OperatingSystem.isWindows()
1212

13-
export default {
13+
const MLGrammars = {
1414
BuckleScript: {
1515
"Selection Based": {
1616
command: "bsc",
@@ -66,3 +66,4 @@ export default {
6666
},
6767
},
6868
}
69+
export default MLGrammars

lib/grammars/php.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import GrammarUtils from "../grammar-utils"
44

5-
export default {
5+
const PerlGrammars = {
66
"Behat Feature": {
77
"File Based": {
88
command: "behat",
@@ -37,3 +37,4 @@ export default {
3737
},
3838
},
3939
}
40+
export default PerlGrammars

lib/grammars/ruby.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use babel"
22

3-
export default {
3+
const RubyGrammars = {
44
RSpec: {
55
"Selection Based": {
66
command: "ruby",
@@ -56,3 +56,4 @@ export default {
5656
},
5757
},
5858
}
59+
export default RubyGrammars

0 commit comments

Comments
 (0)