mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 18:28:26 -04:00
43 lines
789 B
JSON
43 lines
789 B
JSON
{
|
|
"extends": [
|
|
"plugin:compat/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "@babel/eslint-parser",
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "script",
|
|
"babelOptions": {
|
|
"configFile": "./babel.config.json"
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"rules": {},
|
|
"overrides": [{
|
|
"files": [
|
|
"api/**/*.ts"
|
|
],
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": false
|
|
},
|
|
"rules": {
|
|
"compat/compat": "off"
|
|
}
|
|
}],
|
|
"ignorePatterns": ["public/**"]
|
|
}
|