File: .eslintrc.yml

package info (click to toggle)
node-react-fast-compare 3.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 560 kB
  • sloc: javascript: 535; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
env:
  node: true
extends: [ 'eslint:recommended', 'plugin:react/recommended' ]
parser: '@typescript-eslint/parser'
parserOptions:
  sourceType: module
settings:
  react:
    version: detect
rules:
  indent: [ 2, 2, { SwitchCase: 1 } ]
  no-trailing-spaces: 2
  quotes: [ 2, single, avoid-escape ]
  linebreak-style: [ 2, unix ]
  semi: [ 2, always ]
  valid-jsdoc: [ 2, { requireReturn: false } ]
  no-invalid-this: 2
  no-unused-vars: [ 2, { args: none } ]
  no-console: [ 2, { allow: [ warn, error ] } ]
  block-scoped-var: 2
  curly: [ 2, multi-or-nest, consistent ]
  dot-location: [ 2, property ]
  dot-notation: 2
  no-else-return: 2
  no-eq-null: 2
  no-fallthrough: 2
  no-return-assign: 2
  strict: 0
  no-use-before-define: [ 2, nofunc ]
  callback-return: 2
  no-path-concat: 2
globals:
  document: false
  Element: false