Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Update ESLint configuration (#5)
Browse files Browse the repository at this point in the history
 * Update ESLint repository configuration

[atomist:generated]
[atomist-skill:atomist/eslint-skill]
    
Pull request auto merged:

* 1 approved review by @cdupuis
* 1 successful check
  • Loading branch information
atomist[bot] authored Jul 17, 2020
1 parent 41c0ccb commit a99c6e8
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 88 deletions.
3 changes: 1 addition & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
*.d.ts
/lib/typings/types.ts
**/typings/types.ts
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"error",
{
"arrowParens": "avoid",
"quoteProps": "consistent",
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120
"useTabs": true
}
]
}
Expand Down
117 changes: 38 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@graphql-codegen/typescript-operations": "^1.17.0",
"@types/mocha": "^7.0.2",
"@types/power-assert": "^1.5.3",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
Expand All @@ -29,7 +29,7 @@
"supervisor": "^0.12.0",
"ts-node": "^8.10.2",
"typedoc": "^0.17.8",
"typescript": "^3.9.6"
"typescript": "^3.9.7"
},
"directories": {
"test": "test"
Expand Down Expand Up @@ -60,7 +60,8 @@
"skill:bundle": "atm-skill bundle --minify --source-map",
"skill:package": "atm-skill package",
"skill:register": "atm-skill register",
"atm:lint:prettier": "prettier --write"
"atm:lint:prettier": "prettier --write",
"atm:lint:eslint": "eslint --fix"
},
"engines": {
"node": ">=8.2.0",
Expand All @@ -72,6 +73,7 @@
}
},
"lint-staged": {
"**/*.@(graphql|json|markdown|yaml|yml|md)": "npm run atm:lint:prettier"
"**/*.@(graphql|json|markdown|yaml|yml|md)": "npm run atm:lint:prettier",
"**/*.ts": "npm run atm:lint:eslint"
}
}

0 comments on commit a99c6e8

Please sign in to comment.