1.2.1 • Published 6 months ago

eslint-plugin-technobuddha v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.
NameDescription💼🔧💡
optimize-importsEnsure 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🔧
1.2.1

6 months ago

1.0.2

7 months ago

1.1.0

7 months ago

1.0.1

7 months ago

1.0.3

7 months ago

1.0.0

8 months ago