Socket
Socket
Sign inDemoInstall

eslint-plugin-kyt

Package Overview
Dependencies
0
Maintainers
5
Versions
143
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-kyt

ESLint plugin for Vi-specific rules.


Version published
Weekly downloads
5.3K
decreased by-9.67%
Maintainers
5
Install size
28.3 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 16 May 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc