Skip to content

Instantly share code, notes, and snippets.

View wSedlacek's full-sized avatar

William Sedlacek wSedlacek

  • Branding Brand
View GitHub Profile
@wSedlacek
wSedlacek / .eslintrc.json
Created August 14, 2021 02:47
import-order
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"extends": ["suiyobi/import-order"],
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
@wSedlacek
wSedlacek / .cz-config.js
Created August 15, 2021 16:33
commit-lint
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`,
}));
@wSedlacek
wSedlacek / quality.yml
Last active August 15, 2021 16:57
code-quality-workflow
name: Code Quality CI
on:
pull_request:
branches:
- main
jobs:
commit-lint:
runs-on: ubuntu-latest