mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-10-05 03:36:10 +02:00
Compare commits
No commits in common. "b671018a0051ea4a046b4953ce071fc037fdb3e1" and "7f3c152e61938c53c1d95ec374466c201ed05a65" have entirely different histories.
b671018a00
...
7f3c152e61
@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run lint:commit -- --edit
|
npm run lint:commit -- --edit
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run lint:staged
|
npm run lint:staged
|
||||||
npm run test
|
npm run test
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"**/*": ["editorconfig-checker", "prettier --write --ignore-unknown"],
|
"*": ["editorconfig-checker"],
|
||||||
"**/*.md": ["markdownlint-cli2 --fix --no-globs"],
|
"*.{js,jsx,ts,tsx}": ["prettier --write", "eslint --fix"],
|
||||||
"**/*.{js,jsx,ts,tsx}": [
|
"*.{json,jsonc,yml,yaml}": ["prettier --write"],
|
||||||
"eslint --fix --max-warnings 0 --report-unused-disable-directives"
|
"*.{md,mdx}": ["prettier --write", "markdownlint-cli2 --fix"]
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
"extends": "markdownlint/style/prettier",
|
"extends": "markdownlint/style/prettier",
|
||||||
"default": true,
|
|
||||||
"relative-links": true,
|
"relative-links": true,
|
||||||
"no-inline-html": false,
|
"default": true,
|
||||||
|
"MD033": false
|
||||||
},
|
},
|
||||||
"globs": ["**/*.md"],
|
"globs": ["**/*.{md,mdx}"],
|
||||||
"ignores": ["**/node_modules"],
|
"ignores": ["**/node_modules"],
|
||||||
"customRules": ["markdownlint-rule-relative-links"],
|
"customRules": ["markdownlint-rule-relative-links"]
|
||||||
}
|
}
|
||||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
# MIT License
|
# MIT License
|
||||||
|
|
||||||
Copyright (c) Théo LUDWIG <contact@theoludwig.fr>
|
Copyright (c) Théo LUDWIG
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -102,7 +102,7 @@ echo "{}" > .prettierrc.json
|
|||||||
|
|
||||||
#### `package.json`
|
#### `package.json`
|
||||||
|
|
||||||
```json
|
```jsonc
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
|
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
|
||||||
|
1159
package-lock.json
generated
1159
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -44,7 +44,7 @@
|
|||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"test": "node --test test/",
|
"test": "node --test test/",
|
||||||
"release": "semantic-release",
|
"release": "semantic-release",
|
||||||
"postinstall": "husky",
|
"postinstall": "husky install",
|
||||||
"prepublishOnly": "pinst --disable",
|
"prepublishOnly": "pinst --disable",
|
||||||
"postpublish": "pinst --enable"
|
"postpublish": "pinst --enable"
|
||||||
},
|
},
|
||||||
@ -55,25 +55,25 @@
|
|||||||
"eslint-plugin-unicorn": "^49.0.0 || ^50.0.0"
|
"eslint-plugin-unicorn": "^49.0.0 || ^50.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "18.6.0",
|
"@commitlint/cli": "18.4.3",
|
||||||
"@commitlint/config-conventional": "18.6.0",
|
"@commitlint/config-conventional": "18.4.3",
|
||||||
"@tsconfig/strictest": "2.0.2",
|
"@tsconfig/strictest": "2.0.2",
|
||||||
"@types/eslint": "8.56.2",
|
"@types/eslint": "8.56.0",
|
||||||
"@types/node": "20.11.10",
|
"@types/node": "20.10.5",
|
||||||
"@typescript-eslint/eslint-plugin": "6.20.0",
|
"@typescript-eslint/eslint-plugin": "6.16.0",
|
||||||
"@typescript-eslint/parser": "6.20.0",
|
"@typescript-eslint/parser": "6.16.0",
|
||||||
"editorconfig-checker": "5.1.2",
|
"editorconfig-checker": "5.1.2",
|
||||||
"eslint": "8.56.0",
|
"eslint": "8.56.0",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-promise": "6.1.1",
|
"eslint-plugin-promise": "6.1.1",
|
||||||
"eslint-plugin-unicorn": "50.0.1",
|
"eslint-plugin-unicorn": "50.0.1",
|
||||||
"husky": "9.0.7",
|
"husky": "8.0.3",
|
||||||
"lint-staged": "15.2.0",
|
"lint-staged": "15.2.0",
|
||||||
"markdownlint-cli2": "0.12.1",
|
"markdownlint-cli2": "0.11.0",
|
||||||
"markdownlint-rule-relative-links": "2.2.0",
|
"markdownlint-rule-relative-links": "2.1.2",
|
||||||
"pinst": "3.0.0",
|
"pinst": "3.0.0",
|
||||||
"prettier": "3.2.4",
|
"prettier": "3.1.1",
|
||||||
"semantic-release": "23.0.0",
|
"semantic-release": "22.0.12",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"rootDir": "./",
|
"rootDir": "./"
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user