mirror of
https://github.com/curlconverter/curlconverter.git
synced 2022-05-22 02:35:29 +03:00
* allow passing warnings list to *Warn() functions that way if there's an error, we can catch the error, look at the warnings that happened while parsing and show them to users.
20 lines
486 B
JSON
20 lines
486 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"no-empty": ["error", { "allowEmptyCatch": true }],
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }]
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
|
|
}
|