ringtools-server-ts/.eslintrc.json
2022-01-14 01:20:19 +01:00

40 lines
952 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"
}
}
],
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": "test/**/*.ts"
}