🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@netflix/eslint-plugin-x-element

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netflix/eslint-plugin-x-element

An eslint plugin for x-element.

latest
Source
npmnpm
Version
1.0.0-rc.7
Version published
Maintainers
0
Created
Source

eslint-plugin-x-element

An ESLint plugin for x-element.

Explainer

The x-element library ships with a simple, efficient template engine. By design, its supported syntax is strict and unforgiving. This approach affords improved performance and minimizes template complexity.

This plugin improves the feedback loop while using the x-element template syntax by detecting issues through static analysis and saving the need to test changes in the browser one-by-one.

Installation & Usage

npm install --save-dev @netflix/eslint-plugin-x-element
import XElement from '@netflix/eslint-plugin-x-element';

export default [
  /* … */
  {
    files: ['**/*.js'],
    plugins: { XElement },
    rules: { 'XElement/no-invalid-html': 'error' },
  },
  /* … */
];

FAQs

Package last updated on 06 Mar 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