template-tag-spacing
eslint
Safe autofix
eslint.config.js
export default [
{
rules: {
"template-tag-spacing": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
Require or disallow spacing between template tags and their literals
func `Hello world`;func`Hello world`;func`Hello world`;func `Hello world`;Examples from the ESLint documentation.
template-tag-spacing
eslint
export default [
{
rules: {
"template-tag-spacing": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Require var declarations be placed at the top of their containing scope
Require for-in loops to include an if statement
Require grouped accessor pairs in object literals and classes
Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
Enforce the use of variables within the scope they are defined