Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor plugin #39

Merged
merged 6 commits into from
Aug 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
}
}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
tmp
dist/
node_modules/
tmp/
30 changes: 0 additions & 30 deletions .jshintrc

This file was deleted.

17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
---
language: node_js
node_js:
- "0.12"
- "10"

sudo: false
dist: trusty

cache:
directories:
- node_modules
- $HOME/.npm

before_install:
- "npm config set spin false"
- "npm install multidep -g"

install:
- npm install
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1

before_install:
- npm config set spin false
19 changes: 19 additions & 0 deletions Brocfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const babel = require('broccoli-babel-transpiler');
const merge = require('broccoli-merge-trees');
const lint = require('broccoli-lint-eslint');
const mv = require('broccoli-stew').mv;

const babelOptions = {
"presets": [
["env", {
"targets": {
"node": 4
}
}]
]
}

module.exports = merge([
mv(babel(lint('tests'), babelOptions), 'tests'),
babel(lint('src'), babelOptions),
]);
73 changes: 0 additions & 73 deletions index.js

This file was deleted.

Loading