Skip to content

eslint-config-recommended 1.1.0-pr22.1

Install from the command line:
Learn more about npm packages
$ npm install @shiftcode/eslint-config-recommended@1.1.0-pr22.1
Install via package.json:
"@shiftcode/eslint-config-recommended": "1.1.0-pr22.1"

About this version

@shiftcode/eslint-config-recommended

🎯 Target runtime: es2022 (Node >= 18)

⚠️ This module exports code using CommonJS

This module provides an eslint default rule-set configuration for shiftcode projects.
( currently, it is verified against mt-fadas - further projects coming soon )

remark

by using this module, the @shiftcode/eslint-plugin-rules module will be automatically included too.

usage

sample .eslintrc.js file:

module.exports = {
  // ...
    
  // all child eslintrc configs from workspace packages inherit this extension
  extends: [
    '^shiftcode',
  ],
  
  // ...
}

provided configurations

the following provided configurations might be included:

  • @shiftcode/recommended: rule-set for common javascript and typescript files
  • @shiftcode/recommended/ng-config: angular-specific rule-set for angular apps

Optional Peer Dependencies

All the optional peer dependencies (@angular-eslint/*) are only required if the ng-config is used

Ideas

it could be useful to create another configuration (i.e. shiftcode/node-config) used within services/backend workspaces, because the naming conventions aren't really the same as for a client workspace.

Examples:

  • const PEdgeLabel = ...
  • export const JwtGuardConfig = ...
  • const { TextP } = process
  • export function VersionedITOf<T,K> { ... }
  • etc.

Details


Assets

  • eslint-config-recommended-1.1.0-pr22.1.tgz

Download activity

  • Total downloads 93
  • Last 30 days 0
  • Last week 0
  • Today 0