mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
fixed lint rules
This commit is contained in:
parent
e3f9d1fe73
commit
341baa5e3b
@ -2,7 +2,7 @@ module.exports = {
|
||||
env: {
|
||||
es6: true,
|
||||
node: true,
|
||||
'jest/globals': true
|
||||
jest: true
|
||||
},
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
@ -15,8 +15,8 @@ module.exports = {
|
||||
'jest'
|
||||
],
|
||||
rules: {
|
||||
'indent': [ 'error', 2 ],
|
||||
'quotes': [ "error", "single"],
|
||||
//'indent': [ 'error', 2 ],
|
||||
//'quotes': [ "error", "single"],
|
||||
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-console': ['error'],
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user