mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-12-22 00:35:09 -08:00
Disable @stylistic/no-extra-parens
This commit is contained in:
parent
361f55bec1
commit
6db5efe2c8
2 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@ Module.register('MMM-pages', {
|
||||||
* @param {number} n The divisor
|
* @param {number} n The divisor
|
||||||
*/
|
*/
|
||||||
mod (x, n) {
|
mod (x, n) {
|
||||||
return (x % n + n) % n;
|
return ((x % n) + n) % n;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -33,6 +33,7 @@ const config = [
|
||||||
'@stylistic/quotes': ['error', 'single'],
|
'@stylistic/quotes': ['error', 'single'],
|
||||||
'@stylistic/multiline-comment-style': 'off',
|
'@stylistic/multiline-comment-style': 'off',
|
||||||
'@stylistic/multiline-ternary': 'off',
|
'@stylistic/multiline-ternary': 'off',
|
||||||
|
'@stylistic/no-extra-parens': 'off',
|
||||||
'object-shorthand': ['error', 'always']
|
'object-shorthand': ['error', 'always']
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue