1.0.1 • Published 1 year ago

eslint-plugin-kdutify v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

eslint-plugin-kdutify

An eslint plugin for Kdutify.

💿 Install

You should have eslint and eslint-plugin-kdu set up first.

yarn add eslint-plugin-kdutify -D
# OR
npm install eslint-plugin-kdutify --save-dev
// .eslintrc.js
module.exports = {
  extends: [
    'plugin:kdu/base',
    'plugin:kdutify/base'
  ]
}

NOTE This plugin does not affect pug templates due to a limitation in kdu-eslint-parser. I suggest converting your pug templates to HTML with pug-to-html in order to use this plugin.

Rules

Deprecations

These rules will help you avoid deprecated components, props, and classes. They are included in the plugin:kdutify/base preset.

Grid system

These rules are designed to help migrate to the new grid system in Kdutify v2. They are included in the plugin:kdutify/recommended preset.

📑 License

MIT

Copyright (c) 2023-present NKDuy