Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Matrix
Commits
8e2f0381
Commit
8e2f0381
authored
1 year ago
by
Aleksolotl
Browse files
Options
Downloads
Patches
Plain Diff
Update .eslintrc.js
parent
be61a7bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!28
Update .eslintrc.js
Pipeline
#133507
failed
1 year ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.eslintrc.js
+176
-1
176 additions, 1 deletion
.eslintrc.js
with
176 additions
and
1 deletion
.eslintrc.js
+
176
−
1
View file @
8e2f0381
...
...
@@ -2,7 +2,6 @@ module.exports = {
extends
:
[
"
eslint:recommended
"
,
"
plugin:vue/strongly-recommended
"
,
"
prettier
"
,
"
plugin:@intlify/vue-i18n/recommended
"
,
],
rules
:
{
...
...
@@ -24,6 +23,182 @@ module.exports = {
ignorePattern
:
"
^[-–—·#:()
\\
[
\\
]&
\\
.
\\
s]+$
"
,
},
],
// Fixes for prettier (avoid eslint-config-prettier)
// The following rules can be used in some cases. See the README for more
// information. (These are marked with `0` instead of `"off"` so that a
// script can distinguish them.)
curly
:
0
,
"
lines-around-comment
"
:
0
,
"
max-len
"
:
0
,
"
no-confusing-arrow
"
:
0
,
"
no-mixed-operators
"
:
0
,
"
no-tabs
"
:
0
,
"
no-unexpected-multiline
"
:
0
,
quotes
:
0
,
"
@typescript-eslint/quotes
"
:
0
,
"
babel/quotes
"
:
0
,
"
vue/html-self-closing
"
:
0
,
"
vue/max-len
"
:
0
,
// The rest are rules that you never need to enable when using Prettier.
"
array-bracket-newline
"
:
"
off
"
,
"
array-bracket-spacing
"
:
"
off
"
,
"
array-element-newline
"
:
"
off
"
,
"
arrow-parens
"
:
"
off
"
,
"
arrow-spacing
"
:
"
off
"
,
"
block-spacing
"
:
"
off
"
,
"
brace-style
"
:
"
off
"
,
"
comma-dangle
"
:
"
off
"
,
"
comma-spacing
"
:
"
off
"
,
"
comma-style
"
:
"
off
"
,
"
computed-property-spacing
"
:
"
off
"
,
"
dot-location
"
:
"
off
"
,
"
eol-last
"
:
"
off
"
,
"
func-call-spacing
"
:
"
off
"
,
"
function-call-argument-newline
"
:
"
off
"
,
"
function-paren-newline
"
:
"
off
"
,
"
generator-star
"
:
"
off
"
,
"
generator-star-spacing
"
:
"
off
"
,
"
implicit-arrow-linebreak
"
:
"
off
"
,
indent
:
"
off
"
,
"
jsx-quotes
"
:
"
off
"
,
"
key-spacing
"
:
"
off
"
,
"
keyword-spacing
"
:
"
off
"
,
"
linebreak-style
"
:
"
off
"
,
"
multiline-ternary
"
:
"
off
"
,
"
newline-per-chained-call
"
:
"
off
"
,
"
new-parens
"
:
"
off
"
,
"
no-arrow-condition
"
:
"
off
"
,
"
no-comma-dangle
"
:
"
off
"
,
"
no-extra-parens
"
:
"
off
"
,
"
no-extra-semi
"
:
"
off
"
,
"
no-floating-decimal
"
:
"
off
"
,
"
no-mixed-spaces-and-tabs
"
:
"
off
"
,
"
no-multi-spaces
"
:
"
off
"
,
"
no-multiple-empty-lines
"
:
"
off
"
,
"
no-reserved-keys
"
:
"
off
"
,
"
no-space-before-semi
"
:
"
off
"
,
"
no-trailing-spaces
"
:
"
off
"
,
"
no-whitespace-before-property
"
:
"
off
"
,
"
no-wrap-func
"
:
"
off
"
,
"
nonblock-statement-body-position
"
:
"
off
"
,
"
object-curly-newline
"
:
"
off
"
,
"
object-curly-spacing
"
:
"
off
"
,
"
object-property-newline
"
:
"
off
"
,
"
one-var-declaration-per-line
"
:
"
off
"
,
"
operator-linebreak
"
:
"
off
"
,
"
padded-blocks
"
:
"
off
"
,
"
quote-props
"
:
"
off
"
,
"
rest-spread-spacing
"
:
"
off
"
,
semi
:
"
off
"
,
"
semi-spacing
"
:
"
off
"
,
"
semi-style
"
:
"
off
"
,
"
space-after-function-name
"
:
"
off
"
,
"
space-after-keywords
"
:
"
off
"
,
"
space-before-blocks
"
:
"
off
"
,
"
space-before-function-paren
"
:
"
off
"
,
"
space-before-function-parentheses
"
:
"
off
"
,
"
space-before-keywords
"
:
"
off
"
,
"
space-in-brackets
"
:
"
off
"
,
"
space-in-parens
"
:
"
off
"
,
"
space-infix-ops
"
:
"
off
"
,
"
space-return-throw-case
"
:
"
off
"
,
"
space-unary-ops
"
:
"
off
"
,
"
space-unary-word-ops
"
:
"
off
"
,
"
switch-colon-spacing
"
:
"
off
"
,
"
template-curly-spacing
"
:
"
off
"
,
"
template-tag-spacing
"
:
"
off
"
,
"
unicode-bom
"
:
"
off
"
,
"
wrap-iife
"
:
"
off
"
,
"
wrap-regex
"
:
"
off
"
,
"
yield-star-spacing
"
:
"
off
"
,
"
@babel/object-curly-spacing
"
:
"
off
"
,
"
@babel/semi
"
:
"
off
"
,
"
@typescript-eslint/brace-style
"
:
"
off
"
,
"
@typescript-eslint/comma-dangle
"
:
"
off
"
,
"
@typescript-eslint/comma-spacing
"
:
"
off
"
,
"
@typescript-eslint/func-call-spacing
"
:
"
off
"
,
"
@typescript-eslint/indent
"
:
"
off
"
,
"
@typescript-eslint/keyword-spacing
"
:
"
off
"
,
"
@typescript-eslint/member-delimiter-style
"
:
"
off
"
,
"
@typescript-eslint/no-extra-parens
"
:
"
off
"
,
"
@typescript-eslint/no-extra-semi
"
:
"
off
"
,
"
@typescript-eslint/object-curly-spacing
"
:
"
off
"
,
"
@typescript-eslint/semi
"
:
"
off
"
,
"
@typescript-eslint/space-before-blocks
"
:
"
off
"
,
"
@typescript-eslint/space-before-function-paren
"
:
"
off
"
,
"
@typescript-eslint/space-infix-ops
"
:
"
off
"
,
"
@typescript-eslint/type-annotation-spacing
"
:
"
off
"
,
"
babel/object-curly-spacing
"
:
"
off
"
,
"
babel/semi
"
:
"
off
"
,
"
flowtype/boolean-style
"
:
"
off
"
,
"
flowtype/delimiter-dangle
"
:
"
off
"
,
"
flowtype/generic-spacing
"
:
"
off
"
,
"
flowtype/object-type-curly-spacing
"
:
"
off
"
,
"
flowtype/object-type-delimiter
"
:
"
off
"
,
"
flowtype/quotes
"
:
"
off
"
,
"
flowtype/semi
"
:
"
off
"
,
"
flowtype/space-after-type-colon
"
:
"
off
"
,
"
flowtype/space-before-generic-bracket
"
:
"
off
"
,
"
flowtype/space-before-type-colon
"
:
"
off
"
,
"
flowtype/union-intersection-spacing
"
:
"
off
"
,
"
react/jsx-child-element-spacing
"
:
"
off
"
,
"
react/jsx-closing-bracket-location
"
:
"
off
"
,
"
react/jsx-closing-tag-location
"
:
"
off
"
,
"
react/jsx-curly-newline
"
:
"
off
"
,
"
react/jsx-curly-spacing
"
:
"
off
"
,
"
react/jsx-equals-spacing
"
:
"
off
"
,
"
react/jsx-first-prop-new-line
"
:
"
off
"
,
"
react/jsx-indent
"
:
"
off
"
,
"
react/jsx-indent-props
"
:
"
off
"
,
"
react/jsx-max-props-per-line
"
:
"
off
"
,
"
react/jsx-newline
"
:
"
off
"
,
"
react/jsx-one-expression-per-line
"
:
"
off
"
,
"
react/jsx-props-no-multi-spaces
"
:
"
off
"
,
"
react/jsx-tag-spacing
"
:
"
off
"
,
"
react/jsx-wrap-multilines
"
:
"
off
"
,
"
standard/array-bracket-even-spacing
"
:
"
off
"
,
"
standard/computed-property-even-spacing
"
:
"
off
"
,
"
standard/object-curly-even-spacing
"
:
"
off
"
,
"
unicorn/empty-brace-spaces
"
:
"
off
"
,
"
unicorn/no-nested-ternary
"
:
"
off
"
,
"
unicorn/number-literal-case
"
:
"
off
"
,
"
vue/array-bracket-newline
"
:
"
off
"
,
"
vue/array-bracket-spacing
"
:
"
off
"
,
"
vue/arrow-spacing
"
:
"
off
"
,
"
vue/block-spacing
"
:
"
off
"
,
"
vue/block-tag-newline
"
:
"
off
"
,
"
vue/brace-style
"
:
"
off
"
,
"
vue/comma-dangle
"
:
"
off
"
,
"
vue/comma-spacing
"
:
"
off
"
,
"
vue/comma-style
"
:
"
off
"
,
"
vue/dot-location
"
:
"
off
"
,
"
vue/func-call-spacing
"
:
"
off
"
,
"
vue/html-closing-bracket-newline
"
:
"
off
"
,
"
vue/html-closing-bracket-spacing
"
:
"
off
"
,
"
vue/html-end-tags
"
:
"
off
"
,
"
vue/html-indent
"
:
"
off
"
,
"
vue/html-quotes
"
:
"
off
"
,
"
vue/key-spacing
"
:
"
off
"
,
"
vue/keyword-spacing
"
:
"
off
"
,
"
vue/max-attributes-per-line
"
:
"
off
"
,
"
vue/multiline-html-element-content-newline
"
:
"
off
"
,
"
vue/multiline-ternary
"
:
"
off
"
,
"
vue/mustache-interpolation-spacing
"
:
"
off
"
,
"
vue/no-extra-parens
"
:
"
off
"
,
"
vue/no-multi-spaces
"
:
"
off
"
,
"
vue/no-spaces-around-equal-signs-in-attribute
"
:
"
off
"
,
"
vue/object-curly-newline
"
:
"
off
"
,
"
vue/object-curly-spacing
"
:
"
off
"
,
"
vue/object-property-newline
"
:
"
off
"
,
"
vue/operator-linebreak
"
:
"
off
"
,
"
vue/quote-props
"
:
"
off
"
,
"
vue/script-indent
"
:
"
off
"
,
"
vue/singleline-html-element-content-newline
"
:
"
off
"
,
"
vue/space-in-parens
"
:
"
off
"
,
"
vue/space-infix-ops
"
:
"
off
"
,
"
vue/space-unary-ops
"
:
"
off
"
,
"
vue/template-curly-spacing
"
:
"
off
"
,
},
settings
:
{
"
vue-i18n
"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment