Skip to content

Commit

Permalink
ESLint update (#1855)
Browse files Browse the repository at this point in the history
- Emit error when doing things like `const translate =
Scratch.translate;` because the build script won't realize you are
translating strings.
- Emit error when extension name is not translated and fix a couple
instances of this
- Emit error when block text is not translated and fix a couple
instances of this
- Refactor ESLint rules to be many separate rules instead of
no-restricted-syntax being very big
- Include eslint.config.js in prettier
  • Loading branch information
GarboMuffin authored Jan 8, 2025
1 parent b3960f5 commit 23a7680
Show file tree
Hide file tree
Showing 56 changed files with 392 additions and 188 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ build
images
licenses
website
eslint.config.js
*.json
*.yml
*.md
Expand Down
Loading

0 comments on commit 23a7680

Please sign in to comment.