@rws-air/tslint-config
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.0.1](https://github.com/rws-nl/air-node-packages/compare/@rws-air/tslint-config@3.0.0...@rws-air/tslint-config@3.0.1) (2019-09-19) | ||
**Note:** Version bump only for package @rws-air/tslint-config | ||
# [3.0.0](https://github.com/rws-nl/air-node-packages/compare/@rws-air/tslint-config@2.0.7...@rws-air/tslint-config@3.0.0) (2019-08-15) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
module.exports={rules:{align:[!0,"parameters","statements","members","elements"],"array-type":[!0,"array"],"arrow-parens":[!0,"ban-single-arg-parens"],"arrow-return-shorthand":!0,"await-promise":!0,"ban-comma-operator":!0,"binary-expression-operand-order":!0,"class-name":!0,"comment-format":[!0,"check-space"],curly:[!0,"ignore-same-line"],"cyclomatic-complexity":[!0,25],encoding:!0,eofline:!1,forin:!1,"import-spacing":!0,indent:[!0,"spaces",2],"label-position":!0,"linebreak-style":[!0,"LF"],"max-classes-per-file":[!0,1],"max-line-length":[!0,200],"member-ordering":[!0,{order:"fields-first"}],"newline-before-return":!1,"no-arg":!0,"no-bitwise":!0,"no-boolean-literal-compare":!0,"no-conditional-assignment":!0,"no-consecutive-blank-lines":[!0,2],"no-console":{severity:"warning"},"no-construct":!0,"no-debugger":!0,"no-duplicate-imports":!0,"no-duplicate-super":!0,"no-duplicate-switch-case":!0,"no-duplicate-variable":!0,"no-dynamic-delete":!0,"no-empty":!0,"no-empty-interface":!0,"no-eval":!0,"no-implicit-dependencies":!1,"no-invalid-template-strings":!0,"no-invalid-this":!0,"no-misused-new":!0,"no-null-keyword":!1,"no-object-literal-type-assertion":!0,"no-reference":!0,"no-require-imports":!1,"no-return-await":!0,"no-shadowed-variable":!0,"no-sparse-arrays":!0,"no-string-literal":!0,"no-string-throw":!0,"no-this-assignment":!0,"no-trailing-whitespace":[!0,"ignore-jsdoc"],"no-unsafe-finally":!0,"no-unused-expression":!0,"no-var-keyword":!0,"no-var-requires":!0,"number-literal-format":!0,"object-literal-key-quotes":[!0,"as-needed"],"object-literal-shorthand":[!0],"object-literal-sort-keys":!1,"one-line":[!0,"check-open-brace","check-catch","check-else","check-whitespace"],"only-arrow-functions":!0,"ordered-imports":[!0,{"import-sources-order":"case-insensitive","named-imports-order":"case-insensitive","module-source-path":"basename"}],"prefer-conditional-expression":[!0,"check-else-if"],"prefer-const":[!0,{destructuring:"all"}],"prefer-for-of":!0,"prefer-method-signature":!1,"prefer-object-spread":!0,"prefer-template":!0,"promise-function-async":!1,quotemark:[!0,"single","jsx-single"],radix:!0,semicolon:[!0,"always"],"space-before-function-paren":[!0,"always"],"space-within-parens":[!0,0],"switch-default":!0,"trailing-comma":[!0,{multiline:{objects:"always",arrays:"never",functions:"never",typeLiterals:"ignore"},esSpecCompliant:!0,singleline:"never"}],"triple-equals":!0,"interface-over-type-literal":!1,"interface-name":!1,"member-access":!1,whitespace:[!0,"check-branch","check-operator","check-typecast","check-module"]}}; | ||
var e={rules:{align:[!0,"parameters","statements","members","elements"],"array-type":[!0,"array"],"arrow-parens":[!0,"ban-single-arg-parens"],"arrow-return-shorthand":!0,"await-promise":!0,"ban-comma-operator":!0,"binary-expression-operand-order":!0,"class-name":!0,"comment-format":[!0,"check-space"],curly:[!0,"ignore-same-line"],"cyclomatic-complexity":[!0,25],encoding:!0,eofline:!1,forin:!1,"import-spacing":!0,indent:[!0,"spaces",2],"label-position":!0,"linebreak-style":[!0,"LF"],"max-classes-per-file":[!0,1],"max-line-length":[!0,200],"member-ordering":[!0,{order:"fields-first"}],"newline-before-return":!1,"no-arg":!0,"no-bitwise":!0,"no-boolean-literal-compare":!0,"no-conditional-assignment":!0,"no-consecutive-blank-lines":[!0,2],"no-console":{severity:"warning"},"no-construct":!0,"no-debugger":!0,"no-duplicate-imports":!0,"no-duplicate-super":!0,"no-duplicate-switch-case":!0,"no-duplicate-variable":!0,"no-dynamic-delete":!0,"no-empty":!0,"no-empty-interface":!0,"no-eval":!0,"no-implicit-dependencies":!1,"no-invalid-template-strings":!0,"no-invalid-this":!0,"no-misused-new":!0,"no-null-keyword":!1,"no-object-literal-type-assertion":!0,"no-reference":!0,"no-require-imports":!1,"no-return-await":!0,"no-shadowed-variable":!0,"no-sparse-arrays":!0,"no-string-literal":!0,"no-string-throw":!0,"no-this-assignment":!0,"no-trailing-whitespace":[!0,"ignore-jsdoc"],"no-unsafe-finally":!0,"no-unused-expression":!0,"no-var-keyword":!0,"no-var-requires":!0,"number-literal-format":!0,"object-literal-key-quotes":[!0,"as-needed"],"object-literal-shorthand":[!0],"object-literal-sort-keys":!1,"one-line":[!0,"check-open-brace","check-catch","check-else","check-whitespace"],"only-arrow-functions":!0,"ordered-imports":[!0,{"import-sources-order":"case-insensitive","named-imports-order":"case-insensitive","module-source-path":"basename"}],"prefer-conditional-expression":[!0,"check-else-if"],"prefer-const":[!0,{destructuring:"all"}],"prefer-for-of":!0,"prefer-method-signature":!1,"prefer-object-spread":!0,"prefer-template":!0,"promise-function-async":!1,quotemark:[!0,"single","jsx-single"],radix:!0,semicolon:[!0,"always"],"space-before-function-paren":[!0,"always"],"space-within-parens":[!0,0],"switch-default":!0,"trailing-comma":[!0,{multiline:{objects:"always",arrays:"never",functions:"never",typeLiterals:"ignore"},esSpecCompliant:!0,singleline:"never"}],"triple-equals":!0,"interface-over-type-literal":!1,"interface-name":!1,"member-access":!1,whitespace:[!0,"check-branch","check-operator","check-typecast","check-module"]}};module.exports=e,exports.default=e;export default e;export{e as config}; | ||
//# sourceMappingURL=index.es.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";module.exports={rules:{align:[!0,"parameters","statements","members","elements"],"array-type":[!0,"array"],"arrow-parens":[!0,"ban-single-arg-parens"],"arrow-return-shorthand":!0,"await-promise":!0,"ban-comma-operator":!0,"binary-expression-operand-order":!0,"class-name":!0,"comment-format":[!0,"check-space"],curly:[!0,"ignore-same-line"],"cyclomatic-complexity":[!0,25],encoding:!0,eofline:!1,forin:!1,"import-spacing":!0,indent:[!0,"spaces",2],"label-position":!0,"linebreak-style":[!0,"LF"],"max-classes-per-file":[!0,1],"max-line-length":[!0,200],"member-ordering":[!0,{order:"fields-first"}],"newline-before-return":!1,"no-arg":!0,"no-bitwise":!0,"no-boolean-literal-compare":!0,"no-conditional-assignment":!0,"no-consecutive-blank-lines":[!0,2],"no-console":{severity:"warning"},"no-construct":!0,"no-debugger":!0,"no-duplicate-imports":!0,"no-duplicate-super":!0,"no-duplicate-switch-case":!0,"no-duplicate-variable":!0,"no-dynamic-delete":!0,"no-empty":!0,"no-empty-interface":!0,"no-eval":!0,"no-implicit-dependencies":!1,"no-invalid-template-strings":!0,"no-invalid-this":!0,"no-misused-new":!0,"no-null-keyword":!1,"no-object-literal-type-assertion":!0,"no-reference":!0,"no-require-imports":!1,"no-return-await":!0,"no-shadowed-variable":!0,"no-sparse-arrays":!0,"no-string-literal":!0,"no-string-throw":!0,"no-this-assignment":!0,"no-trailing-whitespace":[!0,"ignore-jsdoc"],"no-unsafe-finally":!0,"no-unused-expression":!0,"no-var-keyword":!0,"no-var-requires":!0,"number-literal-format":!0,"object-literal-key-quotes":[!0,"as-needed"],"object-literal-shorthand":[!0],"object-literal-sort-keys":!1,"one-line":[!0,"check-open-brace","check-catch","check-else","check-whitespace"],"only-arrow-functions":!0,"ordered-imports":[!0,{"import-sources-order":"case-insensitive","named-imports-order":"case-insensitive","module-source-path":"basename"}],"prefer-conditional-expression":[!0,"check-else-if"],"prefer-const":[!0,{destructuring:"all"}],"prefer-for-of":!0,"prefer-method-signature":!1,"prefer-object-spread":!0,"prefer-template":!0,"promise-function-async":!1,quotemark:[!0,"single","jsx-single"],radix:!0,semicolon:[!0,"always"],"space-before-function-paren":[!0,"always"],"space-within-parens":[!0,0],"switch-default":!0,"trailing-comma":[!0,{multiline:{objects:"always",arrays:"never",functions:"never",typeLiterals:"ignore"},esSpecCompliant:!0,singleline:"never"}],"triple-equals":!0,"interface-over-type-literal":!1,"interface-name":!1,"member-access":!1,whitespace:[!0,"check-branch","check-operator","check-typecast","check-module"]}}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var config={rules:{align:[!0,"parameters","statements","members","elements"],"array-type":[!0,"array"],"arrow-parens":[!0,"ban-single-arg-parens"],"arrow-return-shorthand":!0,"await-promise":!0,"ban-comma-operator":!0,"binary-expression-operand-order":!0,"class-name":!0,"comment-format":[!0,"check-space"],curly:[!0,"ignore-same-line"],"cyclomatic-complexity":[!0,25],encoding:!0,eofline:!1,forin:!1,"import-spacing":!0,indent:[!0,"spaces",2],"label-position":!0,"linebreak-style":[!0,"LF"],"max-classes-per-file":[!0,1],"max-line-length":[!0,200],"member-ordering":[!0,{order:"fields-first"}],"newline-before-return":!1,"no-arg":!0,"no-bitwise":!0,"no-boolean-literal-compare":!0,"no-conditional-assignment":!0,"no-consecutive-blank-lines":[!0,2],"no-console":{severity:"warning"},"no-construct":!0,"no-debugger":!0,"no-duplicate-imports":!0,"no-duplicate-super":!0,"no-duplicate-switch-case":!0,"no-duplicate-variable":!0,"no-dynamic-delete":!0,"no-empty":!0,"no-empty-interface":!0,"no-eval":!0,"no-implicit-dependencies":!1,"no-invalid-template-strings":!0,"no-invalid-this":!0,"no-misused-new":!0,"no-null-keyword":!1,"no-object-literal-type-assertion":!0,"no-reference":!0,"no-require-imports":!1,"no-return-await":!0,"no-shadowed-variable":!0,"no-sparse-arrays":!0,"no-string-literal":!0,"no-string-throw":!0,"no-this-assignment":!0,"no-trailing-whitespace":[!0,"ignore-jsdoc"],"no-unsafe-finally":!0,"no-unused-expression":!0,"no-var-keyword":!0,"no-var-requires":!0,"number-literal-format":!0,"object-literal-key-quotes":[!0,"as-needed"],"object-literal-shorthand":[!0],"object-literal-sort-keys":!1,"one-line":[!0,"check-open-brace","check-catch","check-else","check-whitespace"],"only-arrow-functions":!0,"ordered-imports":[!0,{"import-sources-order":"case-insensitive","named-imports-order":"case-insensitive","module-source-path":"basename"}],"prefer-conditional-expression":[!0,"check-else-if"],"prefer-const":[!0,{destructuring:"all"}],"prefer-for-of":!0,"prefer-method-signature":!1,"prefer-object-spread":!0,"prefer-template":!0,"promise-function-async":!1,quotemark:[!0,"single","jsx-single"],radix:!0,semicolon:[!0,"always"],"space-before-function-paren":[!0,"always"],"space-within-parens":[!0,0],"switch-default":!0,"trailing-comma":[!0,{multiline:{objects:"always",arrays:"never",functions:"never",typeLiterals:"ignore"},esSpecCompliant:!0,singleline:"never"}],"triple-equals":!0,"interface-over-type-literal":!1,"interface-name":!1,"member-access":!1,whitespace:[!0,"check-branch","check-operator","check-typecast","check-module"]}};module.exports=config,exports.default=config,exports.config=config,exports.default=config; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@rws-air/tslint-config", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Standard TSLint config for all AIR apps written in TypeScript", | ||
@@ -16,4 +16,3 @@ "author": "@rws-air", | ||
"build": "rollup -c rollup.config.js", | ||
"start": "yarn build -w", | ||
"prepublishOnly": "yarn build" | ||
"start": "yarn build -w" | ||
}, | ||
@@ -51,3 +50,3 @@ "files": [ | ||
], | ||
"gitHead": "846e042c90a77f4856461cb8cc3544700c2bd81f" | ||
"gitHead": "f1300034a1dc98f6f9b0ab97c35cef5529431ded" | ||
} |
@@ -1,9 +0,43 @@ | ||
# TSLint Config AIR | ||
<div align="center"> | ||
<p> | ||
<a href="https://github.com/RWS-NL/air-node-packages"><img src="https://raw.githubusercontent.com/RWS-NL/air-node-packages/master/packages/webcomponents/src/Logo/logo.svg?sanitize=true" height="200" alt="logo"/></a> | ||
</p> | ||
> A [TSLint config](https://palantir.github.io/tslint/usage/tslint-json/) for all AIR applications using TypeScript | ||
<p> | ||
<h1> Rijkswaterstaat tslint-config </h1> | ||
<h3> A <a href="https://palantir.github.io/tslint/usage/tslint-json/">TSLint config</a> for all AIR applications using TypeScript </h3> | ||
</p> | ||
</div> | ||
--- | ||
**Project Status** | ||
[![GitHub](https://img.shields.io/github/license/RWS-NL/air-node-packages?logo=github&style=flat-square)](https://github.com/RWS-NL/air-node-packages/blob/master/LICENSE.md) | ||
**Bundle Sizes** | ||
[![npm bundle size](https://img.shields.io/bundlephobia/min/@rws-air/tslint-config?label=tslint-config%20-%20minified&logo=webpack&style=flat-square)](https://bundlephobia.com/result?p=@rws-air/tslint-config) | ||
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@rws-air/tslint-config?label=tslint-config%20-%20minzipped&logo=webpack&style=flat-square)](https://bundlephobia.com/result?p=@rws-air/tslint-config) | ||
**Versions** | ||
[![npm](https://img.shields.io/npm/v/@rws-air/tslint-config?color=crimson&label=tslint-config%20version&logo=npm&style=flat-square)](https://www.npmjs.com/package/@rws-air/tslint-config) | ||
**Our Badges** | ||
[![website](https://img.shields.io/badge/RWS-Approved-yellow.svg?longCache=true&style=flat-square&logo=gov.uk&logoColor=white&link=https://www.rijkswaterstaat.nl&colorA=000000&colorB=154273)](https://www.rijkswaterstaat.nl) | ||
[![slack](https://img.shields.io/badge/Slack-Powered-green.svg?longCache=true&style=flat-square&logo=slack&logoColor=white&link=https://www.slack.com&colorA=000000&colorB=56B68B)](https://www.slack.com) | ||
[![trello](https://img.shields.io/badge/Trello-Managed-blue.svg?longCache=true&style=flat-square&logo=trello&logoColor=white&link=https://www.slack.com&colorA=000000&colorB=0079BF)](https://trello.com/) | ||
[![Pivotal Tracked](https://img.shields.io/badge/Pivotal-Tracked-blue.svg?longCache=true&style=flat-square&link=https://www.pivotaltracker.com/n/projects/1915901&colorA=000000&colorB=ED7D00&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAn5JREFUKBVNUk1IVFEUPue+lzKpNYQQtGqcbCdCuspSkzYtckjSIEEao9q4CVRcjKlo+V/kooXBTFNCNpqhi2hjVuIiyjJrYzSRBVGg9INazrx7T98bGejCu5x7z3fO+b7vXab/VnV7LFucPxeNMceJyZ9KCcWJeSrLq67daapbT8M5HVS33i7TRkeEZDcLzwnTvGJiESki4RKcv1qKguOdwVm3JlV4MhQp14YeE8kzW9nBAaf/pxFqJbaGfD0Ln06FbvkTRiLMUqIUl7vF7NLTyfVFIVqe6DpTwch+bC4YIZFaUBzP63tbvdxScPR5vHXmbv76DEbtyfZahVwViraJ6OZC+VxSl7yf79LYZiknafQoCWVYll2jtRNDk5fd1oXaVc5aQHxFEekApMyedR5kgGrM/RxtwszqBgDT0N2c0sQyd7O74T1Uz4FNpS0C91geJkl+ocEjFwQjNHsyez2bjv6rnQWcP5DHbndzkDIPWedg3JZBeX2LS8qi0wDlobTAJjuxyQqNZR6QJdnQI19aDuyDaagjslEYx4gi9yCaOrDvR/giubEWUySvEJeB2g43byjZxiTFwMdtYZ7ETeP50JBfEsOlvNVxEJNGDdEhZYOFUdBPFJWAg3EHLaV6lDdn1yA0rqxIzvDe7bnFpKxjvv5396BlCthM0Vzp610cjXrexF5bvuto/M2zk6+mHkDVpegRccw0M80QZdRPXK5ddvU4kmhQzB2NdpPXER0GzVJL2RVjnXVPU4UujROhcAW6hcE/F3bNCrumwBbhYrA/DMe/w8n68a7gk9S9u6VXfe9kzo/fq43oFsCdH79K4H8cTCYtO2tgrL1mLY39BzRkHFrrWeoEAAAAAElFTkSuQmCC)](https://www.pivotaltracker.com/n/projects/1915901) | ||
[![Sketch Designed](https://img.shields.io/badge/Sketch-Designed-blue.svg?longCache=true&style=flat-square&link=https://www.sketchapp.com&colorA=000000&colorB=F17100&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAV1JREFUKBWlUb8vQ0Ec/1z7qtWmNYlgKTF0aQ0YaxcRu1HCLGL20tEm/gJ/ApGwGawYaGISmg4SbC3tq9e+8/3ceQbvdfK93L3PfX5873JPIab0dWYWQWbeSAnvTi15T39tKiT0KZYx5VwgrUahZKTWrOSfAVpGT3fx0l9R67iikOCib5BFgHM4KqsZUlVgYtNOwYYTjR7jDYNoSheNHNuooAxM77KfLcGG4xH00Cul9An2pVPNuGbmgOKhgZGlsQM8P1o6Adfxmih9vdt9pveBZHM7kiEx6ATwHqw0Mo6SeZxWDfcSLguBvNw0rtp1gAeIp15wUeHNkV/FQmoMbxT67WiMHDV66KXDBNUi/EIRlWQO3U7kjwHkqNFD72+QQG3hVa5RDdoY+C0ytojJUaMn5M2J4Sa3h9v0JDa8hjz8TxGToxZyQ7+fB3D9YwScxEONcYJ3hMuuzDjtX9w3aVN9Whe7I0sAAAAASUVORK5CYII=)](https://www.sketchapp.com) | ||
[![Zeplin Based](https://img.shields.io/badge/Zeplin-Based-blue.svg?longCache=true&style=flat-square&link=https://app.zeplin.io/project/587661de593c722607342d7b&colorA=000000&colorB=FEBD12&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAAAXNSR0IArs4c6QAAAjBJREFUKBWtUU1rE1EUPfe9yUyajza2TRsq2EVswQqK6N6FiOJGBbeuq+hfKLhw48qFVBRd6A8QxEVFEFy3qLhQUREqBa1JbU0ymXzMzLvXN60fsRay8cJ9vDfvnDPnnQv0qcal/HRtNnu8Dwy0E8C/kBsT0JTtSJPpZMeHPobpetk9mXKgKEZKfNpX+9TLdXoPv/a50pGNZvX5Rv4EODI0h3Iw40IfBLNCrIBQQ16OvINnrtH+2r2Et6MjWS4UzGu+pffgDFfJU3kPiFwgTgHSQyEBVGuOjlau/uNI3hYmUecFtUvNyNcBoG3JejuMmdvcMBVJR6t01hr6W0iWiiV0whfoZEYoysD4EUgnxm0pEQnZN1WjOHCyAlWQjoFUgifJ9eavwrt7D4Hj89wIZpU3mEFkXdjSwykxK61uHKFrvtOgTcL2ljtuxYiXGw2tzI0E68j96d3dbvQYgnHHswJWRIiF69yJ1+ByTaUpI2lybMhJGUFcaSXtW865wdut1eTzZnLhnfJh1uZBasyMx1W4EumfLJttO4Z9FIjswNbbMLat2Iqj6XTuZvAqEUnq9wjkWflp/Ll7LFy2uXg2GEvmiAE/BFsx7horhi9a6LrjqEfpef/DlsTW2jMO8ZwJt6WH9UJ7qVE1lbDILClFUPat7zWpBWiUssXRh8G3talekWT/R0hwBTSwqE69aW4HNS9mD7CiTt4dWvQr65PIqM1ctuP6noPLoxOJWF/g/wD8AHyJ+Mm/jBDkAAAAAElFTkSuQmCC)](https://app.zeplin.io/project/587661de593c722607342d7b) | ||
--- | ||
## Installation | ||
```sh | ||
yarn add -D @rws-air/tslint-config | ||
yarn add @rws-air/tslint-config | ||
``` | ||
@@ -15,10 +49,12 @@ | ||
```json5 | ||
// ... | ||
```json | ||
{ | ||
"extends": ["@rws-air/tslint-config"] | ||
} | ||
// ... | ||
``` | ||
To fully utilize this config you should pass the [`--project`](https://palantir.github.io/tslint/usage/cli/#cli-usage) flag to TSLint! | ||
To fully utilize this config you should pass the [`--project`](https://palantir.github.io/tslint/usage/cli/#cli-usage) flag to TSLint! | ||
## API Documentation | ||
Check out [the docs on github pages](https://rws-nl.github.io/air-node-packages/modules/_rws_air_tslint-config.html) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68047
131
59