mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-31 01:23:51 -05:00
123 current 2024-05-11 14:53:18 24.05.20240419.5c24cf2 6.6.28 *
This commit is contained in:
parent
555d04a095
commit
3d70eff447
2 changed files with 108 additions and 86 deletions
|
@ -55,6 +55,7 @@ in
|
||||||
tokyo-night-gtk
|
tokyo-night-gtk
|
||||||
linuxHeaders
|
linuxHeaders
|
||||||
#NODE
|
#NODE
|
||||||
|
nodePackages.nodemon
|
||||||
nodePackages.ts-node
|
nodePackages.ts-node
|
||||||
nodePackages.pnpm
|
nodePackages.pnpm
|
||||||
nodePackages.prisma
|
nodePackages.prisma
|
||||||
|
|
|
@ -1,90 +1,111 @@
|
||||||
{
|
{
|
||||||
"env": {
|
"env": {
|
||||||
"es2021": true,
|
"es2021": true,
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"env": {
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
"files": [".eslintrc.{js,cjs}"],
|
||||||
"overrides": [
|
"parserOptions": {
|
||||||
{
|
"sourceType": "script"
|
||||||
"env": {
|
}
|
||||||
"node": true
|
|
||||||
},
|
|
||||||
"files": [".eslintrc.{js,cjs}"],
|
|
||||||
"parserOptions": {
|
|
||||||
"sourceType": "script"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"parser": "@typescript-eslint/parser",
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": "latest"
|
|
||||||
},
|
|
||||||
"plugins": ["@stylistic"],
|
|
||||||
"rules": {
|
|
||||||
"@stylistic/indent": ["error", 4],
|
|
||||||
"@stylistic/linebreak-style": ["error", "unix"],
|
|
||||||
"@stylistic/quotes": [
|
|
||||||
"error",
|
|
||||||
"double",
|
|
||||||
{
|
|
||||||
"allowTemplateLiterals": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/semi": ["error", "always"],
|
|
||||||
"@stylistic/array-bracket-newline": ["error", "always"],
|
|
||||||
"newline-per-chained-call": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"ignoreChainWithDepth": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/comma-dangle": ["error", "always-multiline"],
|
|
||||||
"@stylistic/brace-style": "error",
|
|
||||||
"@stylistic/arrow-parens": ["error", "always"],
|
|
||||||
"@stylistic/arrow-spacing": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"before": true,
|
|
||||||
"after": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/block-spacing": ["error", "always"],
|
|
||||||
"@stylistic/comma-spacing": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"before": false,
|
|
||||||
"after": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/computed-property-spacing": ["error", "never"],
|
|
||||||
"@stylistic/dot-location": ["error", "property"],
|
|
||||||
"@stylistic/function-call-spacing": ["error", "never"],
|
|
||||||
"@stylistic/function-call-argument-newline": ["error", "consistent"],
|
|
||||||
"@stylistic/function-paren-newline": ["error", "consistent"],
|
|
||||||
"@stylistic/implicit-arrow-linebreak": ["error", "beside"],
|
|
||||||
"@stylistic/indent-binary-ops": ["error", 4],
|
|
||||||
"@stylistic/key-spacing": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"beforeColon": false,
|
|
||||||
"afterColon": true,
|
|
||||||
"mode": "strict"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/keyword-spacing": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"before": true,
|
|
||||||
"after": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/lines-around-comment": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"beforeBlockComment": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@stylistic/lines-between-class-members": ["error", "always"],
|
|
||||||
"@stylistic/new-parens": ["error", "always"]
|
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest"
|
||||||
|
},
|
||||||
|
"plugins": ["@stylistic", "@stylistic/jsx"],
|
||||||
|
"rules": {
|
||||||
|
"@stylistic/indent": ["error", 4],
|
||||||
|
"@stylistic/linebreak-style": ["error", "unix"],
|
||||||
|
"@stylistic/quotes": [
|
||||||
|
"error",
|
||||||
|
"double",
|
||||||
|
{
|
||||||
|
"allowTemplateLiterals": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/semi": ["error", "always"],
|
||||||
|
"@stylistic/array-bracket-newline": ["error", "always"],
|
||||||
|
"newline-per-chained-call": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreChainWithDepth": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/comma-dangle": ["error", "always-multiline"],
|
||||||
|
"@stylistic/brace-style": "error",
|
||||||
|
"@stylistic/arrow-parens": ["error", "always"],
|
||||||
|
"@stylistic/arrow-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"before": true,
|
||||||
|
"after": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/block-spacing": ["error", "always"],
|
||||||
|
"@stylistic/comma-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"before": false,
|
||||||
|
"after": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/computed-property-spacing": ["error", "never"],
|
||||||
|
"@stylistic/dot-location": ["error", "property"],
|
||||||
|
"@stylistic/function-call-spacing": ["error", "never"],
|
||||||
|
"@stylistic/function-call-argument-newline": ["error", "consistent"],
|
||||||
|
"@stylistic/function-paren-newline": ["error", "consistent"],
|
||||||
|
"@stylistic/implicit-arrow-linebreak": ["error", "beside"],
|
||||||
|
"@stylistic/indent-binary-ops": ["error", 4],
|
||||||
|
"@stylistic/key-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"beforeColon": false,
|
||||||
|
"afterColon": true,
|
||||||
|
"mode": "strict"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/keyword-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"before": true,
|
||||||
|
"after": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/lines-around-comment": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"beforeBlockComment": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/lines-between-class-members": ["error", "always"],
|
||||||
|
"@stylistic/new-parens": ["error", "always"],
|
||||||
|
"@stylistic/jsx/jsx-indent": [
|
||||||
|
"error",
|
||||||
|
4,
|
||||||
|
{
|
||||||
|
"checkAttributes": true,
|
||||||
|
"indentLogicalExpressions": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/jsx/jsx-closing-bracket-location": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"nonEmpty": "props-aligned",
|
||||||
|
"selfClosing": "after-props"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@stylistic/jsx/jsx-one-expression-per-line": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allow": "none"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue