New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tinymce/eslint-plugin

Package Overview
Dependencies
Maintainers
0
Versions
110
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

  • 2.4.0
  • latest
  • release-2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by0.35%
Maintainers
0
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 22 Jan 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc