salix/.eslintrc.yml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2022-11-11 06:35:53 +00:00
extends: [eslint:recommended, google, plugin:jasmine/recommended]
parserOptions:
ecmaVersion: 2020
2018-10-25 11:26:39 +00:00
sourceType: "module"
plugins:
- jasmine
env:
jasmine: true
rules:
require-jsdoc: 0
2017-03-07 12:01:24 +00:00
no-undef: 0
2021-10-20 08:38:22 +00:00
max-len: ["error", {code: 120}]
eqeqeq: 0
2017-03-07 12:01:24 +00:00
operator-linebreak: 0
2017-03-07 16:11:56 +00:00
radix: 0
guard-for-in: 0
2017-05-17 19:23:47 +00:00
camelcase: 0
2017-05-18 15:35:07 +00:00
default-case: 0
2017-05-26 11:14:47 +00:00
no-eq-null: 0
no-console: ["warn"]
2017-10-13 14:23:00 +00:00
no-warning-comments: 0
no-empty: [error, allowEmptyCatch: true]
2018-08-14 09:36:10 +00:00
complexity: 0
max-depth: 0
2018-10-29 14:46:14 +00:00
comma-dangle: 0
bracketSpacing: 0
space-infix-ops: 1
no-invalid-this: 0
space-before-function-paren: [error, never]
2018-10-29 14:46:14 +00:00
prefer-const: 0
2018-12-19 07:42:07 +00:00
curly: [error, multi-or-nest]
indent: [error, 4]
arrow-parens: [error, as-needed]
2020-02-27 07:38:35 +00:00
no-multiple-empty-lines: ["error", { "max": 1, "maxEOF": 1 }]
space-in-parens: ["error", "never"]
jasmine/no-focused-tests: 0
2021-02-10 06:58:11 +00:00
jasmine/prefer-toHaveBeenCalledWith: 0
arrow-spacing: ["error", { "before": true, "after": true }]
2024-10-29 08:26:20 +00:00
no-restricted-syntax:
- "error"
- selector: "NewExpression[callee.name='Date']"
message: "Use Date.vnNew() instead of new Date()."