Nostalgic Perogi Monogramming
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@tallarium/lenz

1.1.0 • 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

80

Version

1.1.0

License

UNLICENSED

Unpacked Size

13.2 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar