bcherny / Tslint No Circular Imports
Licence: mit
TSLint plugin to detect and warn about circular imports
Stars: ✭ 89
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Tslint No Circular Imports
currency-exchange
Currency Exchange | powered by Angular 10, TypeScript, ES6+ features, SCSS, JavaScript, PWA
Stars: ✭ 13 (-85.39%)
Mutual labels: tslint
Aurora
📦 A set of configs and rules for Typescript projects.
Stars: ✭ 30 (-66.29%)
Mutual labels: tslint
Lint Review
An automated code linting bot that integrates various code lint tools with github pull requests.
Stars: ✭ 279 (+213.48%)
Mutual labels: tslint
Typescript Library Starter
Starter kit with zero-config for building a library in TypeScript, featuring RollupJS, Jest, Prettier, TSLint, Semantic Release, and more!
Stars: ✭ 3,943 (+4330.34%)
Mutual labels: tslint
Tslint
🚦 An extensible linter for the TypeScript language
Stars: ✭ 5,922 (+6553.93%)
Mutual labels: tslint
monorepo-typescript-next-the-sane-way
A monorepo example using TypeScript and Next.js
Stars: ✭ 104 (+16.85%)
Mutual labels: tslint
Lynt
✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
Stars: ✭ 390 (+338.2%)
Mutual labels: tslint
Express
Express + Sequelize + Winston + Jasmine + TypeScript + Webpack MVC Boilerplate
Stars: ✭ 9 (-89.89%)
Mutual labels: tslint
Piptool
Add the Picture-in-Picture Functionality to YouTube, Netflix, Plex and other video broadcasting services in macOS Sierra
Stars: ✭ 337 (+278.65%)
Mutual labels: tslint
Tslint Config Standard
A TSLint config for JavaScript Standard Style
Stars: ✭ 358 (+302.25%)
Mutual labels: tslint
Tslint React
📙 Lint rules related to React & JSX for TSLint.
Stars: ✭ 751 (+743.82%)
Mutual labels: tslint
Typescript Tslint Plugin
TypeScript TSLint language service plugin
Stars: ✭ 270 (+203.37%)
Mutual labels: tslint
Coc Tslint Plugin
coc.nvim extension that provides TSLint support using the typescript-tslint-plugin
Stars: ✭ 42 (-52.81%)
Mutual labels: tslint
eslint-config
An ESLint shareable config that I used in my projects
Stars: ✭ 15 (-83.15%)
Mutual labels: tslint
Tslint To Eslint Config
Converts your TSLint configuration to the closest possible ESLint equivalent. 🚀
Stars: ✭ 680 (+664.04%)
Mutual labels: tslint
Gatsby Starter Typescript Deluxe
A Gatsby starter with TypeScript, Storybook, Styled Components, Framer Motion, Jest, and more.
Stars: ✭ 50 (-43.82%)
Mutual labels: tslint
tslint-no-circular-imports
TSLint plugin to detect and warn about circular imports
Installation
# Using Yarn:
yarn add --dev tslint-no-circular-imports
# Or, using NPM:
npm install --save-dev tslint-no-circular-imports
Usage
Add the following to your tslint.json:
{
"extends": ["tslint-no-circular-imports"]
}
Run TSLint:
$ tslint .
Circular import detected: foo.ts -> bar.ts -> foo.ts
Circular import detected: baz.ts -> bar.ts -> baz.ts
Note, if you wish to have circular references reported as a warning, rather than as an error, then add this to your tslint.json:
{
"rules": {
"no-circular-imports": { "severity": "warn" }
}
}
Running the tests
npm test
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].