Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] aksel stylelint #1973

Merged
merged 78 commits into from
May 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
1018811
rebased
JulianNymark May 10, 2023
0f34404
rebase
JulianNymark May 25, 2023
0c958d6
working stylelint config + test rule
JulianNymark May 11, 2023
3ec4624
merge ideas (sortof)
JulianNymark May 11, 2023
63d77c7
wip commit
JulianNymark May 15, 2023
7637d2f
wip commit
JulianNymark May 15, 2023
4f2c706
wip commit
JulianNymark May 16, 2023
e46d1f1
delete test-rule + add URL to readme section
JulianNymark May 16, 2023
8f76170
flatten json object
JulianNymark May 16, 2023
0c536b9
bundle token files at build time
JulianNymark May 16, 2023
ceb04be
update lock file deps
JulianNymark May 16, 2023
0adc7c4
package distribution & version in error message
JulianNymark May 16, 2023
1c730ea
rule for internal tokens
HalvorHaugan May 22, 2023
92e6edb
rule for class name override
HalvorHaugan May 22, 2023
2de8926
remove config props
HalvorHaugan May 22, 2023
1bef442
fix: emit multiple errors for nodes in postcss-value-parser
JulianNymark May 22, 2023
0c642df
adjust error messages
HalvorHaugan May 22, 2023
ab4a463
some tests
HalvorHaugan May 23, 2023
3020779
final tests
HalvorHaugan May 23, 2023
a693f22
refactor
JulianNymark May 23, 2023
6974711
no more regex
HalvorHaugan May 23, 2023
4ebdd1f
update README.md
JulianNymark May 23, 2023
547278e
update README.md (again)
JulianNymark May 23, 2023
4cf44c8
readme
HalvorHaugan May 23, 2023
9bf5866
readme and usage example for aksel-design-token-exists
JulianNymark May 23, 2023
a0bbde7
move README of rule into top-level README
JulianNymark May 23, 2023
62f41a1
update README
JulianNymark May 23, 2023
42e8ba9
update README
JulianNymark May 23, 2023
132827c
move sources into /src, bookkeeping
JulianNymark May 23, 2023
9da8d0f
add aksel-stylelint to changeset.fixed
JulianNymark May 23, 2023
33f296b
set exports correctly (exposes ./recommended)
JulianNymark May 23, 2023
1d158e9
bookkeeping, cleanup, refactor, remove test files
JulianNymark May 24, 2023
bd18ff6
Update README.md
JulianNymark May 24, 2023
7c1da73
Update README.md
JulianNymark May 24, 2023
9d0c90e
changeset
JulianNymark May 24, 2023
146b916
fix urls
HalvorHaugan May 24, 2023
76f13b3
update test for aksel-design-token-exists to cover all token files
HalvorHaugan May 24, 2023
f9281a9
add more granular error catching
JulianNymark May 24, 2023
cad0c45
cleanup, improve error message
JulianNymark May 25, 2023
7db7144
update tests + fix code that broke tests
JulianNymark May 25, 2023
5897505
add rule: deprecate classes
JulianNymark May 25, 2023
fa4bc69
adjust aksel-design-token-exists
HalvorHaugan May 25, 2023
764e8aa
adjust test for no-deprecated-classes
HalvorHaugan May 25, 2023
c70db3e
refactor design-token-exists
HalvorHaugan May 25, 2023
4fbc220
update README
JulianNymark May 25, 2023
8e35264
:memo: update README
JulianNymark May 26, 2023
14c3ea6
update readme
JulianNymark May 26, 2023
803554b
Merge branch 'main' into aksel-linting
KenAJoh May 26, 2023
143b17d
refactor: split rules into smaller rules
JulianNymark May 26, 2023
6173f2e
Merge branch 'aksel-linting' of github.com:navikt/aksel into aksel-li…
JulianNymark May 26, 2023
a596ad8
Merge branch 'main' into aksel-linting
KenAJoh May 30, 2023
8570890
fix tests (deduplicate from refactor), fix plugin too
JulianNymark May 30, 2023
50d1b55
Merge branch 'aksel-linting' of github.com:navikt/aksel into aksel-li…
JulianNymark May 30, 2023
45b3c05
fix meta name / ruleName -> ruleNamePackage refactor
JulianNymark May 30, 2023
2332a44
set internal dependencies (build time)
JulianNymark May 30, 2023
d2edb66
set internal dependencies (build time)
JulianNymark May 30, 2023
30c61a3
when building stylelint, always pull latest css & token files
JulianNymark May 30, 2023
3660fe5
new lock
JulianNymark May 31, 2023
1a639b4
test cache-busting
JulianNymark May 31, 2023
5aa6a25
ignore some lint rules
JulianNymark May 31, 2023
4c55f95
deduplicate rulename
JulianNymark May 31, 2023
9a7a743
bring back caching in ci.yml
JulianNymark May 31, 2023
6acb8c9
:memo: Oppdatert Package.json docs
KenAJoh May 31, 2023
386ae12
Merge branch 'aksel-linting' of https://github.com/navikt/aksel into …
KenAJoh May 31, 2023
daaeaec
more helpful error messages
JulianNymark May 31, 2023
61ac6d0
Merge branch 'main' into aksel-linting
KenAJoh May 31, 2023
331e7d9
:memo: Updated readme
KenAJoh May 31, 2023
482fa62
:memo: Updated prefixes for rules in readme
KenAJoh May 31, 2023
b41c9b7
Merge branch 'aksel-linting' of github.com:navikt/aksel into aksel-li…
JulianNymark May 31, 2023
d50f570
:memo: Formateringsfeil i readme
KenAJoh May 31, 2023
bd068e6
Merge branch 'aksel-linting' of https://github.com/navikt/aksel into …
KenAJoh May 31, 2023
fcd30ff
refactor ruleNames (shorter and better!)
JulianNymark May 31, 2023
7d40a04
Merge branch 'aksel-linting' of github.com:navikt/aksel into aksel-li…
JulianNymark May 31, 2023
1f43c11
update one more rule name (I forgor)
JulianNymark May 31, 2023
7bb8aa5
refactor names again (must have namespace)
JulianNymark May 31, 2023
e0533b2
:bug: Fikset intern bruk av lint-regler
KenAJoh May 31, 2023
1c8d70f
Merge branch 'main' into aksel-linting
KenAJoh May 31, 2023
b2a0971
:arrow_up: yarn lock sync
KenAJoh May 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 Fikset intern bruk av lint-regler
KenAJoh committed May 31, 2023
commit e0533b2a3d3cadab644f08441c4c8904eba59756
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -148,11 +148,11 @@
"@navikt/internal/css/**/*"
],
"rules": {
"@navikt/aksel-design-token-exists": true,
"@navikt/aksel-design-token-no-component-reference": null,
"@navikt/aksel-design-token-no-global-override": null,
"@navikt/aksel-no-internal-tokens": null,
"@navikt/aksel-no-class-override": null
"aksel/design-token-exists": true,
"aksel/design-token-no-component-reference": null,
"aksel/design-token-no-global-override": null,
"aksel/no-internal-tokens": null,
"aksel/no-class-override": null
}
}
],