ember-template-lint
Advanced tools
Comparing version 5.11.2 to 5.12.0
@@ -112,2 +112,10 @@ export default { | ||
'no-implicit-this': 'off', | ||
// This rule is not enabled here (but it is enabled in the "stylistic" preset). However, the rule is | ||
// essentially malfunctioning in gjs/gts context, so it makes sense to always add this override to | ||
// disable it for gjs/gts files, in case the rule is enabled. Ideally, a better fix would be to give | ||
// the rule enough information to determine the context, so it can disable itself, but that would | ||
// require a bigger overhaul. In the meantime, this will prevent a broken experience for <template> | ||
// tags. See https://github.com/ember-template-lint/ember-template-lint/issues/2436. | ||
'modifier-name-case': 'off', | ||
}, | ||
@@ -114,0 +122,0 @@ }, |
@@ -27,3 +27,3 @@ import chalk from 'chalk'; | ||
const CONFIG_FILE_NAME = '.template-lintrc.js'; | ||
const CONFIG_FILE_NAMES = ['.template-lintrc.js', '.template-lintrc.mjs', '.template-lintrc.cjs']; | ||
const ALLOWED_ERROR_CODES = new Set([ | ||
@@ -81,3 +81,3 @@ // resolve package error codes | ||
// look for our config file relative to the specified working directory | ||
configPath = findUpSync(CONFIG_FILE_NAME, { | ||
configPath = findUpSync(CONFIG_FILE_NAMES, { | ||
cwd: workingDir, | ||
@@ -84,0 +84,0 @@ }); |
@@ -18,2 +18,3 @@ // STOP: This file is autogenerated by: npm run update:indices | ||
import noactionmodifiers from './no-action-modifiers.js'; | ||
import noactiononsubmitbutton from './no-action-on-submit-button.js'; | ||
import noaction from './no-action.js'; | ||
@@ -139,2 +140,3 @@ import noargspaths from './no-args-paths.js'; | ||
'no-action-modifiers': noactionmodifiers, | ||
'no-action-on-submit-button': noactiononsubmitbutton, | ||
'no-action': noaction, | ||
@@ -141,0 +143,0 @@ 'no-args-paths': noargspaths, |
{ | ||
"name": "ember-template-lint", | ||
"version": "5.11.2", | ||
"version": "5.12.0", | ||
"description": "Linter for Ember or Handlebars templates.", | ||
@@ -101,3 +101,3 @@ "keywords": [ | ||
"eslint": "^8.47.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
@@ -104,0 +104,0 @@ "eslint-plugin-filenames": "^1.3.2", |
@@ -106,2 +106,3 @@ # ember-template-lint | ||
| [no-action-modifiers](./docs/rule/no-action-modifiers.md) | | | | | | ||
| [no-action-on-submit-button](./docs/rule/no-action-on-submit-button.md) | | | | | | ||
| [no-args-paths](./docs/rule/no-args-paths.md) | ✅ | | | | | ||
@@ -108,0 +109,0 @@ | [no-arguments-for-html-elements](./docs/rule/no-arguments-for-html-elements.md) | ✅ | | | | |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
751699
168
15006
235