Skip to content

Commit

Permalink
ci(root): update ls lint version & config wd-180 (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove authored Jul 17, 2024
1 parent 260bf99 commit 6649dfe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 35 deletions.
35 changes: 7 additions & 28 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
ls:
.dir: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.md: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.json: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.yml: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.html: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.njk: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.css: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.js: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.jsx: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.cjs: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.d.ts: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.png: regex:([.a-z0-9@]*)([-.][a-z0-9@]+)*
.jpg: regex:([.a-z0-9@]*)([-.][a-z0-9@]+)*
.jpeg: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.svg: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
.ttf: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
apps/**:
CHANGELOG.md: SCREAMING_SNAKE_CASE
packages/**:
.dir: kebab-case
.github:
.dir: regex:([.a-z]*)*
.*: regex:([.a-z0-9]*)([-.][a-z0-9]+)*
'**':
CHANGELOG.md: SCREAMING_SNAKE_CASE

ignore:
- .git
- node_modules
- '**/node_modules'
- '**/build'
- CHANGELOG.md
- apps/careers-whatislove-dev/node_modules
- apps/careers-whatislove-dev/build
- apps/certifications-whatislove-dev/node_modules
- apps/certifications-whatislove-dev/build
- apps/whatislove-dev/node_modules
- apps/whatislove-dev/build
- packages/shared/node_modules
- packages/shared/build
13 changes: 7 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@commitlint/config-conventional": "18.4.0",
"@commitlint/types": "18.4.3",
"@eslint/js": "8.55.0",
"@ls-lint/ls-lint": "2.2.2",
"@ls-lint/ls-lint": "2.3.0-beta.1",
"@types/eslint": "8.56.10",
"@types/eslint__js": "8.42.3",
"@types/lint-staged": "13.3.0",
Expand Down

0 comments on commit 6649dfe

Please sign in to comment.