@tallarium/lenz
v3.0.6
Published
Tallarium Shared Lint Configs
Downloads
138
Keywords
Readme
Lenz
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.
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/.eslintrc.js"
]
}
.template-lintrc.js
module.exports = require("@tallarium/lenz/dist/templatelint");