1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-12-18 21:45:04 +01:00

Compare commits

..

No commits in common. "b4de437548d035f1222fb0d562b6814d21454ff4" and "10b5a0d8dfe458664be260ca1e5b8fcaab3e8716" have entirely different histories.

7 changed files with 1476 additions and 1339 deletions

View File

@ -1,6 +1,6 @@
{
"root": true,
"plugins": ["promise", "unicorn"],
"plugins": ["import", "promise", "unicorn"],
"env": {
"browser": true,
"node": true,
@ -157,6 +157,24 @@
"arrow-parens": ["error", "always"],
"arrow-body-style": ["error", "always"],
"import/no-absolute-path": "error",
"import/no-webpack-loader-syntax": "error",
"import/no-self-import": "error",
"import/no-useless-path-segments": "error",
"import/export": "error",
"import/first": "error",
"import/no-duplicates": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal"],
"newlines-between": "always"
}
],
"import/no-named-default": "error",
"import/no-empty-named-blocks": "error",
"import/no-anonymous-default-export": "error",
"promise/param-names": "error",
"promise/no-new-statics": "error",
"promise/no-multiple-resolved": "error",

View File

@ -10,10 +10,10 @@ jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.1.6"
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.0.2"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -13,13 +13,13 @@ jobs:
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.1.6"
with:
fetch-depth: 0
persist-credentials: false
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.0.2"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -10,10 +10,10 @@ jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.1.6"
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.0.2"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -36,6 +36,7 @@ More information about **formatting rules** vs **code-quality rules** can be fou
```sh
npm install --save-dev \
eslint@^8.56.0 \
eslint-plugin-import@^2.29.1 \
eslint-plugin-promise@^6.1.1 \
eslint-plugin-unicorn@^53.0.0 \
eslint-config-conventions@latest
@ -45,6 +46,7 @@ Dependencies are:
- [ESLint](https://github.com/eslint/eslint)
- 3 [ESLint Plugins](https://eslint.org/docs/user-guide/configuring/plugins)
- [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import)
- [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise)
- [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
- This package: `eslint-config-conventions`

2757
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -49,28 +49,30 @@
},
"peerDependencies": {
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-unicorn": "^51.0.1 || ^52.0.0 || ^53.0.0 || ^54.0.0"
"eslint-plugin-unicorn": "^51.0.1 || ^52.0.0 || ^53.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.2.2",
"@commitlint/config-conventional": "19.2.2",
"@tsconfig/strictest": "2.0.5",
"@types/eslint": "8.56.10",
"@types/node": "20.14.10",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"editorconfig-checker": "5.1.8",
"@types/node": "20.12.12",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"editorconfig-checker": "5.1.5",
"eslint": "8.57.0",
"eslint-plugin-promise": "6.4.0",
"eslint-plugin-unicorn": "54.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "53.0.0",
"husky": "9.0.11",
"lint-staged": "15.2.7",
"lint-staged": "15.2.2",
"markdownlint-cli2": "0.13.0",
"markdownlint-rule-relative-links": "3.0.0",
"markdownlint-rule-relative-links": "2.3.2",
"pinst": "3.0.0",
"prettier": "3.3.2",
"prettier": "3.2.5",
"semantic-release": "23.1.1",
"typescript": "5.5.3"
"typescript": "5.4.5"
}
}