Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Add linting to prevent circular dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed May 8, 2019
1 parent 54f6c9f commit 13d2dbe
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
54 changes: 54 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -7,11 +7,12 @@
"ci": "npm run verify",
"format": "prettier --write '{src,typings}/**/*.{json,md,ts}' *.{json,md,ts}",
"format-verify": "prettier --check '{src,typings}/**/*.{json,md,ts}' *.{json,md,ts}",
"lint": "tslint --project .",
"prepublishOnly": "npm run verify && npm run build",
"start": "ava --watch",
"test": "ava",
"typecheck": "tsc --noEmit",
"verify": "npm run typecheck && npm run format-verify && npm run test"
"verify": "npm run typecheck && npm run format-verify && npm run lint && npm run test"
},
"dependencies": {
"ava": "^1.4.1",
Expand All @@ -29,6 +30,8 @@
"@types/ws": "^6.0.1",
"prettier": "^1.17.0",
"react": "^16.8.6",
"tslint": "^5.16.0",
"tslint-no-circular-imports": "^0.6.2",
"typescript": "^3.3.4000"
},
"browser": "dist/index.js",
Expand Down
3 changes: 3 additions & 0 deletions tslint.json
@@ -0,0 +1,3 @@
{
"extends": ["tslint-no-circular-imports"]
}

0 comments on commit 13d2dbe

Please sign in to comment.