mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-09 23:51:22 +00:00
64 lines
1.7 KiB
JavaScript
64 lines
1.7 KiB
JavaScript
/*
|
|
* ######
|
|
* ######
|
|
* ############ ####( ###### #####. ###### ############ ############
|
|
* ############# #####( ###### #####. ###### ############# #############
|
|
* ###### #####( ###### #####. ###### ##### ###### ##### ######
|
|
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
|
|
* ###### ###### #####( ###### #####. ###### ##### ##### ######
|
|
* ############# ############# ############# ############# ##### ######
|
|
* ############ ############ ############# ############ ##### ######
|
|
* ######
|
|
* #############
|
|
* ############
|
|
* Adyen NodeJS API Library
|
|
* Copyright (c) 2020 Adyen B.V.
|
|
* This file is open source and available under the MIT license.
|
|
* See the LICENSE file for more info.
|
|
*/
|
|
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint"],
|
|
env: {
|
|
es6: true,
|
|
node: true
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 6,
|
|
sourceType: "module",
|
|
ecmaFeatures: {
|
|
modules: true
|
|
},
|
|
project: path.resolve(__dirname, "./tsconfig.json"),
|
|
tsconfigRootDir: __dirname
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
rules: {
|
|
quotes: ["error", "double"],
|
|
semi: ["error", "always"],
|
|
"@typescript-eslint/no-non-null-assertion": 0,
|
|
"@typescript-eslint/ban-types": [
|
|
"error",
|
|
{
|
|
"extendDefaults": true,
|
|
"types": {
|
|
"{}": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ["*.ts"],
|
|
rules: {
|
|
"no-dupe-class-members": "off"
|
|
}
|
|
}
|
|
]
|
|
} |