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: {
|
env: {
|
||||||
es6: true,
|
es6: true,
|
||||||
node: true,
|
node: true,
|
||||||
'jest/globals': true
|
jest: true
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: 'babel-eslint'
|
parser: 'babel-eslint'
|
||||||
@ -15,8 +15,8 @@ module.exports = {
|
|||||||
'jest'
|
'jest'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'indent': [ 'error', 2 ],
|
//'indent': [ 'error', 2 ],
|
||||||
'quotes': [ "error", "single"],
|
//'quotes': [ "error", "single"],
|
||||||
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
'no-console': ['error'],
|
'no-console': ['error'],
|
||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user