Socket
Book a DemoInstallSign in
Socket

eslint-plugin-kyt

Package Overview
Dependencies
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-kyt

ESLint plugin for Vi-specific rules.

latest
Source
npmnpm
Version
1.5.6
Version published
Weekly downloads
30
-3.23%
Maintainers
5
Weekly downloads
 
Created
Source

eslint-plugin-kyt

Installation

$ yarn add --dev eslint-plugin-kyt
$ npm i --save-dev --save-exact eslint-plugin-kyt

Add to the plugins and rules sections of your ESLint configuration:

.eslintrc(.json):

{
  "plugins": ["kyt"],
  "rules": {
    "kyt/css-in-js-namespace": "error",
    "kyt/default-props": "error",
    "kyt/no-direct-moment-import": "error",
    "kyt/validate-double-underscore-dirs": "error"
  }
}

.eslintrc.js:

module.exports = {
  plugins: ['kyt'],
  rules: {
    'kyt/css-in-js-namespace': 'error',
    'kyt/default-props': 'error',
    'kyt/no-direct-moment-import': 'error',
    'kyt/validate-double-underscore-dirs': 'error',
  },
};

Keywords

eslint

FAQs

Package last updated on 16 May 2023

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