Skip to content

Commit

Permalink
Merge pull request #71 from robhurring/decaffeinate
Browse files Browse the repository at this point in the history
Convert from Cofeescript to Javascript
  • Loading branch information
stephenyeargin authored Jan 22, 2024
2 parents 5df9272 + 94fea2f commit ac7ea4e
Show file tree
Hide file tree
Showing 11 changed files with 7,332 additions and 2,876 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, 'redmine.js');
};
Loading

0 comments on commit ac7ea4e

Please sign in to comment.