mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-11 03:11:28 +00:00
Update eslint config
This commit is contained in:
3
.eslintignore
Normal file
3
.eslintignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
dist/
|
||||||
|
lib/
|
||||||
|
node_modules/
|
||||||
@@ -1,17 +1,19 @@
|
|||||||
{
|
{
|
||||||
"env": {
|
"env": { "node": true, "jest": true },
|
||||||
"commonjs": true,
|
"parser": "@typescript-eslint/parser",
|
||||||
"es6": true,
|
"parserOptions": { "ecmaVersion": 9, "sourceType": "module" },
|
||||||
"node": true
|
"extends": [
|
||||||
},
|
"eslint:recommended",
|
||||||
"extends": "eslint:recommended",
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"globals": {
|
"plugin:@typescript-eslint/recommended",
|
||||||
"Atomics": "readonly",
|
"plugin:import/errors",
|
||||||
"SharedArrayBuffer": "readonly"
|
"plugin:import/warnings",
|
||||||
},
|
"plugin:import/typescript",
|
||||||
"parserOptions": {
|
"plugin:prettier/recommended",
|
||||||
"ecmaVersion": 2018
|
"prettier/@typescript-eslint"
|
||||||
},
|
],
|
||||||
"rules": {
|
"plugins": ["@typescript-eslint"],
|
||||||
}
|
"rules": {
|
||||||
}
|
"@typescript-eslint/camelcase": "off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user