Skip to content

Commit

Permalink
Enable no-action rule, add pending to template-lint config to prevent
Browse files Browse the repository at this point in the history
new usages of {{action
  • Loading branch information
kategengler committed Jan 4, 2020
1 parent 2c188e9 commit 54bf83a
Showing 1 changed file with 171 additions and 2 deletions.
173 changes: 171 additions & 2 deletions .template-lintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,176 @@
'use strict';

module.exports = {
pending: [
{
"moduleId": "app/templates/login",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/addons/correct",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/admin/build-servers",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/admin/review",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/addon-review-form",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/addon-source-usages",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/addon-version-list",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/admin-addon-review-form",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/admin-addon",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/code-search",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/dependency-table",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/dependency-tables",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/ember-version-compatibility",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/exclusive-button",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/large-search",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/login-form",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/page-layout",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/radio-button-set",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/radio-button",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/score-detail",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/search-result-set",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/sort-option",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/sort-order-option",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/stats-bar",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/components/toggle-switch",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/admin/build-results/show",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/admin/categories/edit",
"only": [
"no-action"
]
},
{
"moduleId": "app/templates/admin/categories/new",
"only": [
"no-action"
]
}
],
extends: 'octane',
rules: {
'eol-last': 'always',
Expand All @@ -15,6 +185,5 @@ module.exports = {
'no-partial': true,
'quotes': false,
'table-groups': false,
'no-action': false,
}
},
};

0 comments on commit 54bf83a

Please sign in to comment.