Skip to content

Commit

Permalink
move no-template-curly-in-string to general rules, phetsims/phet-info…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 6f44c90 commit 44bed48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions eslint/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ module.exports = {
// disallow use of the Object constructor
'no-new-object': 'error',

'no-template-curly-in-string': 2,

// disallow space between function identifier and application
'no-spaced-func': 'error',

Expand Down
2 changes: 0 additions & 2 deletions eslint/format_eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ module.exports = {
// The new rules, overrides, etc.
rules: {

'no-template-curly-in-string': 2,

// enforce line breaks after opening and before closing array brackets
// https://eslint.org/docs/rules/array-bracket-newline
// TODO: enable? semver-major
Expand Down
3 changes: 1 addition & 2 deletions eslint/node_eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
module.exports = {
extends: './.eslintrc.js',
rules: {
'no-var': 2,
'no-template-curly-in-string': 2
'no-var': 2
},
env: {

Expand Down

0 comments on commit 44bed48

Please sign in to comment.