This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Quality CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
commit-lint: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nx = require('./nx.json'); | |
const domains = Object.keys(nx.projects) | |
.filter((name) => !name.match(/(ui|util|feature|api)-/)) | |
.map((name) => name.replace('-domain', '')); | |
const projectScopes = domains.map((project) => ({ | |
name: project, | |
description: `anything ${project} specific`, | |
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"root": true, | |
"ignorePatterns": ["**/*"], | |
"plugins": ["@nrwl/nx"], | |
"overrides": [ | |
{ | |
"extends": ["suiyobi/import-order"], | |
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | |
"rules": { | |
"@nrwl/nx/enforce-module-boundaries": [ |