Needy Poetic Mothers

    @tallarium/lenz

    3.0.2 • Public • Published

    Lenz

    Greenkeeper badge

    Tallarium Shared Lint Configs

    Building

    npm run build

    will create configuration files in dist. Note that copying the files in this directory is not the preferred method for use in other projects.

    Develop locally with other projects

    In the lenz directory:

    npm link

    and in the other project's directory

    npm link @tallarium/lenz

    Each time you want Lenz configuration changes to be reflected in other linked projects, build using the above instructions.

    Deployment

    Follow the standard NPM package release instructions.

    Versioning

    Lenz is a package which is expected to require work on most upgrades. It should stay on major version 0 because it will never really provide a "stable API".

    Examples

    The examples below are the basic files required to use a Lenz deployment in another project.

    Where the file is extended, this means that project-specific configuration supplied in the json file will take precedence over that specified in Lenz.

    tslint.json

    {
      "extends": [
          "./node_modules/@tallarium/lenz/dist/tslint.json"
      ]
    }

    .template-lintrc.js

    module.exports = require("@tallarium/lenz/dist/templatelint");

    TSLint

    When running TSLint, make sure to pass it the tsconfig file so it can run rules requiring type info correctly:

    tslint --project tsconfig.json
    

    Keywords

    none

    Install

    npm i @tallarium/lenz

    DownloadsWeekly Downloads

    86

    Version

    3.0.2

    License

    UNLICENSED

    Unpacked Size

    14.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • kieranmontgomery
    • mohamed-tallarium
    • m.tomic
    • mwhitworth
    • tron-bot
    • xuluwarrior
    • fedjmike
    • iliescuv93
    • sandid