Skip to content

Commit

Permalink
feat: add deps and installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Sep 10, 2022
1 parent eee4cde commit 4563398
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 111 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# eslint-config
# eslint-config

```shell
yarn add @bjerk/eslint-config
```

```shell
npx install-peerdeps --dev @bjerk/eslint-config
```
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/runeh/typical-fetch/blob/main/.eslintrc.json
*/

module.exports = {
export default {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
Expand All @@ -16,7 +16,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'jest', 'import', 'unicorn'],
rules: {
'curly': 'error',
curly: 'error',
'@typescript-eslint/explicit-module-boundary-types': 'warn',
'@typescript-eslint/member-ordering': 'error',
'@typescript-eslint/no-explicit-any': 'warn',
Expand Down
53 changes: 35 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,50 @@
{
"name": "@bjerk/eslint-config",
"version": "2.1.0",
"version": "3.0.1",
"repository": "github.com:bjerkio/eslint-config",
"author": "Bjerk AS",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"author": "Bjerk AS",
"main": "index.js",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"prettier": "@cobraz/prettier",
"devDependencies": {
"@cobraz/prettier": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^43.0.1"
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-unicorn": "^43.0.2",
"prettier": "^2.7.1"
},
"devDependencies": {
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-unicorn": "^43.0.2",
"prettier": "^2.7.1"
},
"peerDependenciesMeta": {
"prettier": {
"optional": true
}
},
"engines": {
"node": ">=16"
},
"volta": {
"node": "16.14.0",
"yarn": "1.22.17"
"node": "16.14.0"
},
"publishConfig": {
"access": "public"
}
}
Loading

0 comments on commit 4563398

Please sign in to comment.