eslint-plugin-kyt

1.5.6 • Public • Published

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',
  },
};

Package Sidebar

Install

npm i eslint-plugin-kyt

Weekly Downloads

3,175

Version

1.5.6

License

Apache-2.0

Unpacked Size

28.9 kB

Total Files

16

Last publish

Collaborators

  • fesebuv
  • btwood
  • delambo
  • caiogondim
  • wonderboymusic