mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
92930d475c
* Add bad .js code - Call function which has not been defined - Should throw JS lint error * update eslint - Move to newer version of eslint - Change default rules * Fixes for tables.js * Fixes for table_filters.js * Fixes for stock.js * Fix for sales_order.js and search.js * Fix return_order.js * Fixes for purchase_order.js * More updates - part.js - plugin.js - pricing.js * Updates - order.js * Even morerer updates - label.js - modals.js - model_renderers.js - news.js - notification.js * More, MORE! - build.js - company.js - charts.js - filters.js - forms.js - helpers.js * Final? - api.js - attachment.js - barcode.js - bom.js * Fix 'useless-escape' * Disable no-useless-escape rule
28 lines
463 B
YAML
28 lines
463 B
YAML
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
|