Skip to content

Commit

Permalink
Switch from CoffeeScript to JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Jan 3, 2024
1 parent fa72906 commit aa158d3
Show file tree
Hide file tree
Showing 15 changed files with 6,090 additions and 2,026 deletions.
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: 'airbnb-base',
overrides: [
],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
'no-param-reassign': ['error', { props: false }],
},
};
11 changes: 0 additions & 11 deletions index.coffee

This file was deleted.

6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const path = require('path');

module.exports = (robot) => {
const scriptsPath = path.resolve(__dirname, 'src');
robot.loadFile(scriptsPath, 'foursquare-lunch.js');
};
Loading

0 comments on commit aa158d3

Please sign in to comment.