Socket
Book a DemoInstallSign in
Socket

eslint-plugin-raonwiz-rules

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-raonwiz-rules

RAONWIZ ESLint preset.

1.0.0
latest
npmnpm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

RAONWIZ ESLint Plugins

Usage

npm i --save-dev eslint-plugin-raonwiz-rules

Configure ESLint with a .eslintrc file using the following contents:

{
	// ...
	plugins: [
		// ...
		'raonwiz-rules' // Add the plugin to the linter.
	],
	rules: {
		'raonwiz-rules/no-relative-imports': 'error',
		'raonwiz-rules/license-header': [ 'error', {
			headerLines: [
				'/**',
				' * @license Copyright (c) 2003-2022, RAONWIZ DevTeam. All rights reserved.',
				' * For licensing, see LICENSE.md',
				' */'
			]
		} ]
		// ...
	}
	// ...
}

Rules

no-relative-imports

license-header

This rule checks if each file starts with proper @license block comment. It requires configuration:

rules: {
	'raonwiz-rules/license-header': [ 'error', {
		headerLines: [
			'/**',
			' * @license Copyright (c) 2003-2022, RAONWIZ DevTeam. All rights reserved.',
			' * For licensing, see LICENSE.md',
			' */'
		]
	} ]
}

Changelog

Releasing package

Changelog

Publishing

Keywords

eslint

FAQs

Package last updated on 20 Dec 2022

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.