mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 14:49:25 +00:00
Add ESLint and Prettier
This commit is contained in:
parent
b945d091bf
commit
3037861304
8 changed files with 987 additions and 71 deletions
13
.eslintrc.yml
Normal file
13
.eslintrc.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
root: true
|
||||
parser: '@typescript-eslint/parser'
|
||||
plugins: ['@typescript-eslint']
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:@typescript-eslint/eslint-recommended
|
||||
- plugin:@typescript-eslint/recommended
|
||||
- prettier/@typescript-eslint
|
||||
rules:
|
||||
# '@typescript-eslint/explicit-function-return-type': 0
|
||||
'@typescript-eslint/no-use-before-define':
|
||||
- 2
|
||||
- functions: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue