-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removes outdated precommit scripts * Updates eslint, prettier, stylelint and their configurations: turns on plugins that were installed but off * Fixes stylelint errors * Applies prettier to css files * Fixes new eslint errors * Updates lint script to include both stylelint and eslint
- Loading branch information
Showing
28 changed files
with
1,859 additions
and
1,598 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,6 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.4.1" | ||
hooks: | ||
- id: prettier | ||
files: "assets/js|assets/css" | ||
args: [--config, assets/.prettierrc.json] | ||
|
||
- repo: https://github.com/awebdeveloper/pre-commit-stylelint | ||
rev: '0.0.2' | ||
hooks: | ||
- id: stylelint | ||
additional_dependencies: | ||
- [email protected] | ||
- [email protected] | ||
|
||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: 'v8.3.0' | ||
hooks: | ||
- id: eslint | ||
files: "assets/js|tracker/test" | ||
additional_dependencies: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
||
- repo: https://gitlab.com/jvenom/elixir-pre-commit-hooks | ||
rev: v1.0.0 | ||
hooks: | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-prettier" | ||
], | ||
"extends": ["stylelint-config-standard"], | ||
"ignoreFiles": ["./node_modules/**/*.*"], | ||
"rules": { | ||
"at-rule-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreAtRules": [ | ||
"tailwind", | ||
"apply", | ||
"variants", | ||
"responsive", | ||
"screen" | ||
] | ||
} | ||
"import-notation": "string", | ||
"at-rule-no-unknown": [true, { "ignoreAtRules": ["apply", "screen"] }], | ||
"at-rule-empty-line-before": [ | ||
"always", | ||
{ "except": ["blockless-after-same-name-blockless"], "ignoreAtRules": ["apply"] } | ||
], | ||
"declaration-block-trailing-semicolon": null, | ||
"no-descending-specificity": null | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* @format */ | ||
#chartjs-tooltip { | ||
background-color: rgb(25 30 56); | ||
position: absolute; | ||
font-size: 14px; | ||
font-style: normal; | ||
padding: 10px 12px; | ||
pointer-events: none; | ||
border-radius: 5px; | ||
z-index: 100; | ||
} |
Oops, something went wrong.