Socket
Book a DemoInstallSign in
Socket

@tinymce/eslint-plugin

Package Overview
Dependencies
Maintainers
2
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinymce/eslint-plugin

Plugin for ESLint containing Tiny Technologies Inc. standard linting rules

latest
release-3.0
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
1.6K
-31.69%
Maintainers
2
Weekly downloads
 
Created
Source

ESLint Rules

This is the base rules for eslint that we can share between projects and then override if we need to on a project basis.

Automatic Conversion notes

64 rules replaced with their ESLint equivalents.

6 ESLint rules behave differently from their TSLint counterparts

  • one-var:
    • Variables declared in for loops will no longer be checked.
  • camelcase:
    • Leading and trailing underscores (_) in variable names will now be ignored.
  • no-underscore-dangle:
    • Leading or trailing underscores (_) on identifiers will now be forbidden.
  • no-invalid-this:
    • Functions in methods will no longer be ignored.
  • no-unused-expressions:
    • The TSLint optional config "allow-new" is the default ESLint behavior and will no longer be ignored.
  • eqeqeq:
    • Option "smart" allows for comparing two literal values, evaluating the value of typeof and null comparisons.

4 rules do not yet have ESLint equivalents

  • import-spacing
  • one-line
  • whitespace
  • no-reference-import

2 packages are required for new ESLint rules.

  • eslint-plugin-prefer-arrow supports this rule:
    • only-arrow-functions = prefer-arrow/prefer-arrow-functions
  • eslint-plugin-import supports these rules:
    • no-duplicate-imports = import/no-duplicates
    • ordered-imports = import/order (implementations differ)

FAQs

Package last updated on 28 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.