Stirling-PDF/.eslintrc.js

65 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-01-04 19:32:11 -05:00
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
2024-01-04 20:17:54 -05:00
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked"
2024-01-04 19:32:11 -05:00
],
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
2024-01-04 20:17:54 -05:00
"sourceType": "module",
"project": [
"./client-tauri/tsconfig.json",
"./server-node/tsconfig.json",
"./shared-operations/tsconfig.json"
]
2024-01-04 19:32:11 -05:00
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"node_modules/",
"**/*.js",
"**/*.jsx"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
2024-01-04 20:17:54 -05:00
"always",
{
"omitLastInOneLineBlock": true,
"omitLastInOneLineClassBody": true
}
2024-01-04 19:32:11 -05:00
]
}
};