@cognite/tslint-config-cognite-3d

tslint configuration for Cognite 3D team projects

Usage no npm install needed!

<script type="module">
  import cogniteTslintConfigCognite3d from 'https://cdn.skypack.dev/@cognite/tslint-config-cognite-3d';
</script>

README

tslint-config-cognite-3d

This is the tslint configuration for Cognite 3D team projects. It uses tslint-plugin-prettier with tslint-config-prettier to apply code formatting style.

Setup

Install lint config:

yarn add --dev @cognite/tslint-config-cognite-3d

Install peer dependencies:

yarn add --dev tslint prettier tslint-plugin-prettier tslint-config-prettier

Create a tslint.json file in the root of your project:

{
  "extends": ["@cognite/tslint-config-cognite-3d"]
}