Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
129 changes: 0 additions & 129 deletions .lando.dist.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .lando/update-solr-config.sh

This file was deleted.

12 changes: 1 addition & 11 deletions README_FRONTEND_TOOLING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# LocalGov Drupal Frontend Tooling

Below details the steps required to run the frontend tooling such as ESLint and
Stylelint with Lando or DDEV.
Stylelint with DDEV.

## Prerequisites

Expand All @@ -13,7 +13,6 @@ to the correct directory for tooling.
This only needs to be done once.

```bash
lando install-frontend
ddev install-frontend
```

Expand All @@ -22,21 +21,18 @@ ddev install-frontend
To run eslint on just .js files, run:

```bash
lando eslint-js web/modules/contrib/[project_name]
ddev eslint-js web/modules/contrib/[project_name]
```

E.g.

```bash
lando eslint-js web/modules/contrib/localgov_core
ddev eslint-js web/modules/contrib/localgov_core
```

If you wish to fix some of the issues automatically, add the `--fix` flag:

```bash
lando eslint-js --fix web/modules/contrib/[project_name]
ddev eslint-js --fix web/modules/contrib/[project_name]
```

Expand All @@ -45,21 +41,18 @@ ddev eslint-js --fix web/modules/contrib/[project_name]
To run eslint on just .yml files, run:

```bash
lando eslint-yml web/modules/contrib/[project_name]
ddev eslint-yml web/modules/contrib/[project_name]
```

E.g.

```bash
lando eslint-yml web/modules/contrib/localgov_core
ddev eslint-yml web/modules/contrib/localgov_core
```

If you wish to fix some of the issues automatically, add the `--fix` flag:

```bash
lando eslint-yml --fix web/modules/contrib/[project_name]
ddev eslint-yml --fix web/modules/contrib/[project_name]
```

Expand All @@ -68,20 +61,17 @@ ddev eslint-yml --fix web/modules/contrib/[project_name]
To run stylelint on all css files, run:

```bash
lando stylelint web/modules/contrib/[project_name]/**/*.css
ddev stylelint web/modules/contrib/[project_name]/**/*.css
```

E.g.

```bash
lando stylelint web/modules/contrib/localgov_base/**/*.css
ddev stylelint web/modules/contrib/localgov_base/**/*.css
```

If you wish to fix some of the issues automatically, add the `--fix` flag:

```bash
lando stylelint --fix web/modules/contrib/[project_name]/**/*.css
ddev stylelint --fix web/modules/contrib/[project_name]/**/*.css
```
Loading