mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 05:58:26 -04:00
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:compat/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"parser": "@babel/eslint-parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2015,
|
|
"sourceType": "module",
|
|
"allowImportExportEverywhere": false,
|
|
"requireConfigFile": false,
|
|
"babelOptions": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"rules": {
|
|
"curly": "error",
|
|
"quotes": ["error", "double"]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"overrides": [{
|
|
"files": [
|
|
"api/**/*.ts"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module",
|
|
"project": ["./tsconfig.json"]
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/restrict-template-expressions": "off"
|
|
},
|
|
"env": {
|
|
"browser": false,
|
|
"node": true,
|
|
"es6": true
|
|
}
|
|
}],
|
|
"ignorePatterns": ["public/**", "static/assets/**", "postcss.config.js", "gulpfile.js", "webpack.config.js"]
|
|
}
|