eslint-plugin-technobuddha
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

eslint-plugin-technobuddha

npm npm downloads

A small set of ESLint rules for enforcing best practices in Node.js and TypeScript projects.

Installation

Using npm:

npm install --save-dev eslint-plugin-path-alias

Using yarn:

yarn add --dev eslint-plugin-path-alias

Configuration eslint.config.js

(requires eslint>=v8.57.0)

import eslintPluginTechnobuddha from 'eslint-plugin-technobuddha';

export default [
  {
    plugins: {
      technobuddha: technobuddhaPlugin,
    },
    ...technobuddhaPlugin.configs.recommended,
  },
];

Configuration .eslintrc.json (legacy)

{
  "extends": ["plugin:technobuddha/recommended"],
  "rules": {
    "technobuddha/optimize-imports": ["error", "module.exports"]
  }
}

Rules

💼 Configurations enabled in.
Set in the recommended configuration.
🔧 Automatically fixable by --fix.
💡 Manually fixable by editor suggestions.
Deprecated.
Name Description 💼 🔧 💡
optimize-imports Ensure that all imports are in the "optimal" format. With customizable rules for inclusion/exclusion of file extensions, elimination of extra path components, importing directories, and use of aliases from tsconfig.json paths and/or package.json imports 🔧

Package Sidebar

Install

npm i eslint-plugin-technobuddha

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

103 kB

Total Files

68

Last publish

Collaborators

  • technobuddha