Skip to content

Commit

Permalink
build: fix ls-lint configuration (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon authored Jul 7, 2024
1 parent 817b469 commit f79d3dc
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 397 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence
* @scolladon @mehdisfdc
* @scolladon @mehdicherf
2 changes: 1 addition & 1 deletion .github/linters/.cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"mdapi",
"megalinter",
"mehdi",
"mehdisfdc",
"mehdicherf",
"metafile",
"metafile",
"mjyhjbm",
Expand Down
14 changes: 10 additions & 4 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ ls:
.test.ts: camelCase | PascalCase
.nut.ts: camelCase | PascalCase
.config.ts: camelCase | PascalCase
src:
.dir: kebab-case
.dir: kebab-case | regex:__[a-z]+__

ignore:
- .git
- node_modules
- .github
- .husky
- .nyc_output
- .vscode
- .wireit
- .yarn
- e2e
- lib
- .wireit
- megalinter-reports
- node_modules
- reports
2 changes: 0 additions & 2 deletions CODEOWNERS

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ sfdx plugins:install sfdx-git-delta

Because this plugin is not signed, you will get a warning saying that "This plugin is not digitally signed and its authenticity cannot be verified". This is expected, and you will have to answer `y` (yes) to proceed with the installation.

If you run your CI/CD jobs inside a Docker image, you can add the plugin to your image (such as in [this example](https://github.com/mehdisfdc/sfdx-cli-gitlab)). If you use GitHub Actions, you can find some examples of using SGD [here](https://github.com/mehdisfdc/sfdx-GitHub-actions/tree/main/.github/workflows).
If you run your CI/CD jobs inside a Docker image, you can add the plugin to your image (such as in [this example](https://github.com/mehdicherf/sfdx-cli-gitlab)). If you use GitHub Actions, you can find some examples of using SGD [here](https://github.com/mehdicherf/sfdx-GitHub-actions/tree/main/.github/workflows).

⚠️ The Salesforce CLI plugin is now the only supported way to install SGD. There used to be another way to install it using yarn or npm. The legacy `sgd` command is now deprecated and decommissioned.

Expand Down Expand Up @@ -551,7 +551,7 @@ Versioning follows [SemVer](http://semver.org/) specification.
## Authors
- **Sebastien Colladon** - Developer - [scolladon](https://github.com/scolladon)
- **Mehdi Cherfaoui** - Tester - [mehdisfdc](https://github.com/mehdisfdc)
- **Mehdi Cherfaoui** - Tester - [mehdicherf](https://github.com/mehdicherf)
## Contributing
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
},
"author": "Sebastien Colladon <[email protected]>",
"dependencies": {
"@ls-lint/ls-lint": "^2.2.3",
"@salesforce/command": "^5.3.9",
"@salesforce/core": "^7.4.0",
"@salesforce/core": "^8.1.1",
"async": "^3.2.5",
"fast-xml-parser": "^4.4.0",
"fs-extra": "^11.2.0",
"ignore": "^5.3.1",
"isomorphic-git": "^1.25.10",
"isomorphic-git": "^1.27.0",
"lodash": "^4.17.21",
"simple-git": "^3.25.0",
"xmlbuilder2": "^3.1.1"
Expand Down Expand Up @@ -223,19 +222,20 @@
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@jest/globals": "^29.7.0",
"@ls-lint/ls-lint": "^2.2.3",
"@oclif/dev-cli": "^1.26.10",
"@salesforce/cli-plugins-testkit": "^5.3.11",
"@salesforce/cli-plugins-testkit": "^5.3.18",
"@salesforce/dev-config": "^4.1.0",
"@salesforce/ts-sinon": "^1.4.20",
"@salesforce/ts-sinon": "^1.4.22",
"@stryker-mutator/core": "^8.2.6",
"@stryker-mutator/jest-runner": "^8.2.6",
"@swc/core": "^1.5.29",
"@swc/core": "^1.6.13",
"@types/async": "^3.2.24",
"@types/jest": "^29.5.12",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"benchmark": "^2.1.4",
"chai": "^4.3.10",
"eslint": "^8.57.0",
Expand All @@ -244,17 +244,17 @@
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"knip": "^5.19.0",
"knip": "^5.24.1",
"lint-staged": "^15.2.7",
"mocha": "^10.4.0",
"mocha": "^10.6.0",
"nyc": "^17.0.0",
"prettier": "^3.3.2",
"shx": "^0.3.4",
"sinon": "^18.0.0",
"ts-jest": "^29.1.4",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
"typescript": "^5.5.3",
"wireit": "^0.14.4",
"yarn-audit-fix": "^10.0.7",
"yarn-upgrade-all": "^0.7.2"
Expand Down
Loading

0 comments on commit f79d3dc

Please sign in to comment.