-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We don't use React or TypeScript. Webpack is not necessary to bundle the one JS file in this app, as even Wagtail's Webpack config only copies the file to the build directory. Linting configuration is kept as we can still run it via pre-commit. CSS linting is also kept, as even though we don't have any CSS files right now, it might be handy in case we need CSS overrides to maintain compatibility with latest Wagtail versions.
- Loading branch information
Showing
11 changed files
with
9 additions
and
8,478 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
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 |
---|---|---|
|
@@ -35,23 +35,23 @@ repos: | |
rev: 'v2.7.1' | ||
hooks: | ||
- id: prettier | ||
types_or: [css, scss, javascript, ts, tsx, json, yaml] | ||
types_or: [css, scss, javascript, json, yaml] | ||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
# eslint config is in .eslintrc.js | ||
rev: v8.40.0 | ||
hooks: | ||
- id: eslint | ||
additional_dependencies: | ||
- '[email protected]' | ||
# These are required by @wagtail/eslint-config-wagtail | ||
# even if we don't use react | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '@typescript-eslint/[email protected]' | ||
- '@typescript-eslint/[email protected]' | ||
- '@wagtail/[email protected]' | ||
files: \.(js|jsx|ts|tsx)$ | ||
files: \.(js)$ | ||
types: [file] | ||
- repo: https://github.com/thibaudcolas/pre-commit-stylelint | ||
# stylelint config is in .stylelintrc.js | ||
|
Oops, something went wrong.