ringtools-server-ts/.eslintrc.json
2022-04-17 22:59:36 +02:00

41 lines
1015 B
JSON

{
"env": {
"browser": false,
"es2021": true
},
"extends": [
"plugin:@shopify/typescript",
"plugin:@shopify/typescript-type-checking",
"plugin:@shopify/node",
"plugin:@shopify/prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module",
"project": [
"./tsconfig.json"
]
},
"overrides": [
{
"files": [
"src/**/*.{ts,tsx}"
],
"extends": [
"plugin:@shopify/typescript-type-checking"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/naming-convention": "off"
}
}
],
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": "test/**/*.ts"
}