2022-07-08 11:59:52 +03:00
/ *
* Copyright ( c ) Microsoft Corporation . All rights reserved .
* Licensed under the MIT License . See License . txt in the project root for license information .
* /
2020-11-10 09:12:58 +03:00
module . exports = {
root : true ,
2020-12-20 04:21:34 +03:00
env : {
node : true ,
amd : true ,
mocha : true ,
} ,
2022-07-08 11:59:52 +03:00
parser : "@typescript-eslint/parser" ,
2020-12-20 04:21:34 +03:00
parserOptions : {
2022-07-08 11:59:52 +03:00
ecmaVersion : 2019 ,
2020-12-20 04:21:34 +03:00
} ,
2022-07-08 11:59:52 +03:00
plugins : [ "@typescript-eslint" , "header" ] ,
2020-11-10 09:12:58 +03:00
extends : [
2022-07-08 11:59:52 +03:00
"eslint:recommended" ,
"plugin:@typescript-eslint/eslint-recommended" ,
"plugin:@typescript-eslint/recommended" ,
2020-11-10 09:12:58 +03:00
] ,
2024-05-29 14:31:07 +03:00
ignorePatterns : [ "src/typings" ] ,
2021-08-13 01:37:21 +03:00
rules : {
2022-07-08 11:59:52 +03:00
"@typescript-eslint/no-unused-vars" : [
"error" ,
{ argsIgnorePattern : "^_$" } ,
] ,
"header/header" : [
2 ,
"block" ,
"\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n " ,
2 ,
] ,
} ,
overrides : [
{
// Autogenerated file
files : [ "**/Parser/*.js" ] ,
rules : {
"header/header" : "off"
}
}
]
2020-11-10 09:12:58 +03:00
} ;