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

Upgrade frontend to Ember 3.0.0 #1277

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 24 additions & 1 deletion .eslintrc.js
Expand Up @@ -7,9 +7,12 @@ module.exports = {
'experimentalObjectRestSpread': true,
},
},
plugins: [
'ember',
],
extends: [
'eslint:recommended',
'plugin:ember-suave/recommended',
'plugin:ember-suave/recommended', // to be replaced with 'plugin:ember/recommended',
],
env: {
browser: true,
Expand All @@ -31,4 +34,24 @@ module.exports = {
'ember-suave/no-direct-property-access': 'off',
'ember-suave/require-access-in-comments': 'off',
},
overrides: [
// node files
{
files: [
'testem.js',
'ember-cli-build.js',
'config/**/*.js',
'lib/*/index.js',
],
parserOptions: {
sourceType: 'script',
ecmaVersion: 2015,
},
env: {
browser: false,
node: true,
},
},
],

};
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -25,6 +25,7 @@ env:

before_install:
- nvm install 8
- npm config set spin false

install:
- cargo install --force diesel_cli --vers 1.0.0 --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
Expand Down Expand Up @@ -60,6 +61,7 @@ matrix:
- cargo build
- cargo test
- npm install
- npm run lint:js
- npm test
- rust: beta
script:
Expand Down
25 changes: 14 additions & 11 deletions config/targets.js
@@ -1,13 +1,16 @@
/* eslint-env node */
'use strict';

// These are the browsers we actually are attempting to support:
const browsers = [
'last 2 Chrome versions',
'last 1 Firefox version',
'Firefox ESR',
'last 1 Safari version',
'last 1 iOS version',
'last 1 Edge version',
'last 1 UCAndroid version',
];

module.exports = {
browsers: [
// These are the browsers we actually are attempting to support:
'last 2 Chrome versions',
'last 1 Firefox version',
'Firefox ESR',
'last 1 Safari version',
'last 1 iOS version',
'last 1 Edge version',
'last 1 UCAndroid version'
]
browsers
};