mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-08-03 11:28:21 -04:00
28 lines
620 B
JavaScript
28 lines
620 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: 'standard',
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
rules: {
|
|
semi: 0,
|
|
indent: ['error', 4],
|
|
'dot-notation': 0,
|
|
'no-var': 0,
|
|
'no-mixed-operators': 0,
|
|
'no-extra-parens': 1,
|
|
'no-unused-expressions': 1,
|
|
'no-unused-vars': 1,
|
|
'n/no-callback-literal': 0,
|
|
'object-shorthand': 0,
|
|
'one-var': 0,
|
|
'multiline-ternary': 0,
|
|
'no-extend-native': 0,
|
|
'no-global-assign': 0
|
|
}
|
|
}
|