Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-rdf

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-rdf

Linting rules for RDF/JS projects.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
253
increased by4.98%
Maintainers
0
Weekly downloads
 
Created
Source

eslint-plugin-rdf

Linting rules for RDF/JS projects.

Installation

  1. Install
npm install --save-dev eslint-plugin-rdf
  1. Edit .eslintrc
{
    "extends": [
        "plugin:rdf/recommended"
    ],
    "plugins": [
        "rdf"
    ]
}

Rules

rdf/ban-rdf-js

🔧 This rule is automatically fixable by the --fix CLI option.

The rdf-js package is deprecated. Its usages should be replaced with @rdfjs/types.

Fail
import { DataFactory } from 'rdf-js'
import type { NamedNode } from 'rdf-js'
import * as RDF from 'rdf-js'
Pass
import { DataFactory } from '@rdfjs/types'
import type { NamedNode } from '@rdfjs/types'
import * as RDF from '@rdfjs/types'
Options

This rule has no options.

Keywords

FAQs

Package last updated on 28 Jun 2024

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