Skip to content

Commit

Permalink
chore: update config files
Browse files Browse the repository at this point in the history
- https://gist.github.com/unicornware/1ecc41e7407de9d8c9e90e088cd88d6d

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Mar 3, 2023
1 parent 4e4c661 commit bec49b3
Show file tree
Hide file tree
Showing 66 changed files with 6,733 additions and 3,678 deletions.
25 changes: 25 additions & 0 deletions .commitlintrc.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* @file Configuration - commitlint
* @module config/commitlint
* @see https://commitlint.js.org
*/

import {
RuleConfigSeverity as Severity,
type UserConfig
} from '@commitlint/types'
import { scopes } from '@flex-development/commitlint-config'

/**
* `commitlint` configuration object.
*
* @const {UserConfig} config
*/
const config: UserConfig = {
extends: ['@flex-development'],
rules: {
'scope-enum': [Severity.Error, 'always', scopes(['nodes', 'spec'])]
}
}

export default config
54 changes: 0 additions & 54 deletions .commitlintrc.json

This file was deleted.

21 changes: 13 additions & 8 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,30 @@
"failFast": false,
"flagWords": [],
"ignorePaths": [
"**/.gitignore",
"**/*.log",
"**/*.snap",
"**/.*ignore",
"**/.gitconfig",
"**/CHANGELOG.md",
"**/LICENSE.md",
".cspell.json",
".env*",
".git/",
".husky/_/",
".vscode/settings.json",
".yarn/",
"CHANGELOG.md",
"LICENSE.md",
"dist/",
"patches/",
"yarn.lock"
],
"ignoreRegExpList": ["/from\\s+(['\"]).*\\1/"],
"ignoreRegExpList": [
"/@flex-development\\/.*/",
"/from\\s+(['\"]).*\\1/",
"import\\(.*\\)"
],
"ignoreWords": [],
"language": "en-US",
"patterns": [],
"readonly": true,
"useGitignore": true,
"usePnP": false,
"version": "0.2",
"words": ["docast", "fldv"]
"version": "0.2"
}
23 changes: 7 additions & 16 deletions .dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,43 +1,34 @@
ardatan
autocrlf
autosetuprebase
bdel
bdelr
bdougie
bren
bstract
cefc
chbfeat
chbfix
chbhotfix
chbrelease
commitlintrc
dawidd
dedupe
dessant
docast
dohm
esbenp
esbuild
fbca
fpnv
gpgsign
graphqlrc
hmarr
iife
infile
keyid
larsgw
lcov
lintstagedrc
micnncim
mkbuild
mlly
nocheck
npmrc
nvmrc
pathe
pkgs
preid
safecrlf
syncer
tsdoc
unist
unstub
vates
vsicons
yarnrc
yntax
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ trim_trailing_whitespace = true
[*.hbs]
max_line_length = 100

# markdown
[*.md]
max_line_length = 120

# shellscript
[*.sh]
max_line_length = 100

# snapshots
[*.snap]
max_line_length = 130

# yaml
[*.yml]
max_line_length = 100
1 change: 1 addition & 0 deletions .env.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
#
# - https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/dotenv

[ -f $PWD/.env.local ] && source $PWD/.env.local
NODE_NO_WARNINGS=1
29 changes: 23 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
# ESLINT IGNORE
# https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories
# https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file

# DIRECTORIES & FILES
**/*.snap
**/*config.*.timestamp*
**/.DS_Store
.eslintcache
.yarn/*
dist/*
node_modules/*
**/__tests__/report.json
**/coverage/
**/.temp/
**/dist/
**/node_modules/
**/tsconfig*temp.json
yarn.lock

# NEGATED PATTERNS
!/.*
!**/.eslintrc*
!**/__fixtures__/**/dist/
!**/__fixtures__/**/node_modules/
!**/typings/**/dist/
!.codecov.yml
!.commitlintrc.*
!.cspell.json
!.github/
!.graphqlrc.yml
!.lintstagedrc.json
!.markdownlint.jsonc
!.prettierrc.json
!.vscode/
!.yarnrc.yml
Loading

0 comments on commit bec49b3

Please sign in to comment.