eslint-config-recommended 1.1.0-pr22.2
Install from the command line:
Learn more about npm packages
$ npm install @shiftcode/eslint-config-recommended@1.1.0-pr22.2
Install via package.json:
"@shiftcode/eslint-config-recommended": "1.1.0-pr22.2"
About this version
🎯 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 )
by using this module, the @shiftcode/eslint-plugin-rules module will be automatically included too.
sample .eslintrc.js file:
module.exports = {
// ...
// all child eslintrc configs from workspace packages inherit this extension
extends: [
'^shiftcode',
],
// ...
}
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
All the optional peer dependencies (@angular-eslint/*
) are only required if the ng-config
is used
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
- eslint-config-recommended
-
shiftcode
- over 1 year ago
- UNLICENSED
- 12 dependencies
Assets
- eslint-config-recommended-1.1.0-pr22.2.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0