Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jan 19, 2025
1 parent 20d4dfa commit 712f3cd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,24 @@ packages/registry/dist: $(shell find packages/registry/src -type f)
packages/components/dist: $(shell find packages/components/src -type f)
pnpm build:components

packages/client/dist: $(shell find packages/client/src -type f)
pnpm build:client

packages/providers/dist: $(shell find packages/providers/src -type f)
pnpm build:providers

packages/helpers/dist: $(shell find packages/helpers/src -type f)
pnpm build:helpers

packages/react-router/dist: $(shell find packages/react-router/src -type f)
pnpm build:react-router

.PHONY: build-deps
build-deps: packages/registry/dist ## Build dependencies

.PHONY: build-all-deps
build-all-deps: ../registry/dist ../components/dist ../client/dist ../providers/dist ../react-router/dist ../helpers/dist ## Build all dependencies

.PHONY: i18n
i18n: ## Converts your po files into json to translate volto frontend
$(MAKE) -C "./packages/volto/" i18n
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "pnpm --filter @plone/volto build",
"start": "pnpm --filter @plone/volto start",
"start:project": "pnpm --filter plone run start",
"lint": "pnpm build:all && eslint --max-warnings=0 '{apps,packages}/**/*.{js,jsx,ts,tsx}'",
"lint": "make build-all-deps && eslint --max-warnings=0 '{apps,packages}/**/*.{js,jsx,ts,tsx}'",
"lint:volto": "pnpm --filter @plone/volto run lint",
"test": "pnpm --filter @plone/volto run test",
"test:ci": "pnpm --filter @plone/volto run test:ci",
Expand Down
3 changes: 3 additions & 0 deletions packages/voltotng/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module.exports = {
// Base config
extends: ['eslint:recommended'],

// Ignore Cypress folder
ignorePatterns: ['cypress/', '.react-router/**/*'],

overrides: [
// React
{
Expand Down

0 comments on commit 712f3cd

Please sign in to comment.