Skip to content

Commit

Permalink
fix: add use-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 21, 2021
1 parent b746e93 commit cfe2bb2
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/grammars/apple.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

//{OperatingSystem} = require '../grammar-utils'

export const AppleScript = {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/c.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/coffeescript.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/database.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

const message =
"SQL requires setting 'Script: Run Options' directly. See https://github.com/atom-ide-community/atom-script/tree/master/examples/hello.sql for further information."

Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/doc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/fortran.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

let GrammarUtils
import path from "path"
const { command } = (GrammarUtils = require("../grammar-utils"))
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/haskell.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

export const Haskell = {
"Selection Based": {
command: "ghc",
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/java.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/lisp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import _ from "underscore"
import GrammarUtils from "../grammar-utils"

Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/lua.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

export const Lua = {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/ml.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/perl.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

export const Perl = {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/php.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

export default {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/python.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

export const Python = {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/ruby.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

export default {
RSpec: {
"Selection Based": {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/shell.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

exports["Bash Automated Test System (Bats)"] = {
Expand Down
2 changes: 2 additions & 0 deletions lib/grammars/windows.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use babel"

import GrammarUtils from "../grammar-utils"

//if GrammarUtils.OperatingSystem.isWindows()
Expand Down

0 comments on commit cfe2bb2

Please sign in to comment.