2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 01:55:39 +00:00

Use pinned eslint version (#6968)

* pin eslint version

* use subdir instead

* move eslint
This commit is contained in:
Matthias Mair
2024-04-06 04:27:13 +01:00
committed by GitHub
parent 6bff55d620
commit 3457eebf5c
2 changed files with 1 additions and 1 deletions

27
src/backend/.eslintrc.yml Normal file
View File

@ -0,0 +1,27 @@
env:
commonjs: false
browser: true
es2021: true
jquery: true
extends:
- eslint:recommended
parserOptions:
ecmaVersion: 12
rules:
no-var: off
guard-for-in: off
no-trailing-spaces: off
camelcase: off
padded-blocks: off
prefer-const: off
max-len: off
require-jsdoc: off
valid-jsdoc: off
no-multiple-empty-lines: off
comma-dangle: off
no-unused-vars: off
no-useless-escape: off
prefer-spread: off
indent:
- error
- 4