diff --git a/.eslintignore b/.eslintignore index 85915d9417..1d94912423 100644 --- a/.eslintignore +++ b/.eslintignore @@ -8,14 +8,19 @@ # dependencies /bower_components/ +/node_modules/ # misc /coverage/ +!.* # ember-try /.node_modules.ember-try/ +/bower.json.ember-try +/package.json.ember-try # ember-inspector specific -/scripts -/skeletons +/dist_prev/ +/scripts/ +/skeletons/ /ember_debug/vendor/startup-wrapper.js diff --git a/.eslintrc.js b/.eslintrc.js index 923d089cf3..76ce9ea3f7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -138,6 +138,9 @@ module.exports = { // node files { files: [ + '.eslintrc.js', + '.stylelintrc.js', + '.template-lintrc.js', 'ember-cli-build.js', 'testem.js', 'blueprints/*/index.js', diff --git a/.npmignore b/.npmignore index 58dc52f793..bbe313fc24 100644 --- a/.npmignore +++ b/.npmignore @@ -19,3 +19,5 @@ config/secrets.json .node_modules.ember-try/ bower.json.ember-try package.json.ember-try + +.idea/ diff --git a/.template-lintrc.js b/.template-lintrc.js new file mode 100644 index 0000000000..2d8e72fa36 --- /dev/null +++ b/.template-lintrc.js @@ -0,0 +1,15 @@ +'use strict'; + +module.exports = { + extends: 'recommended', + rules: { + 'link-rel-noopener': false, + 'no-inline-styles': false, + 'no-invalid-interactive': false, + 'no-outlet-outside-routes': false, + 'no-partial': false, + 'no-unbound': false, + 'simple-unless': false, + 'table-groups': false + } +}; diff --git a/.travis.yml b/.travis.yml index 0f9bfaf007..50327c796e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ jobs: # runs tests with current locked deps and linting - stage: test script: + - yarn lint:hbs - yarn lint:js - yarn test @@ -52,7 +53,7 @@ install: - travis_retry yarn install --ignore-engines script: - - travis_retry node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup=true --- node_modules/.bin/ember test --filter="Ember Debug" + - travis_retry node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --- node_modules/.bin/ember test --filter="Ember Debug" after_success: - travis_retry test $TRAVIS_BRANCH == "stable" && yarn run upload diff --git a/app/templates/-main.hbs b/app/templates/-main.hbs index 2a41901db6..35c7ed983d 100644 --- a/app/templates/-main.hbs +++ b/app/templates/-main.hbs @@ -2,7 +2,8 @@ {{#draggable-column width=navWidth classes="split__panel split__panel--sidebar-1" - setIsDragging=(route-action 'setIsDragging')}} + setIsDragging=(route-action "setIsDragging") + }}