mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
add eslint files
This commit is contained in:
6
.eslintrc.js
Normal file
6
.eslintrc.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
root: true,
|
||||||
|
extends: [
|
||||||
|
'habitrpg/lib/node'
|
||||||
|
],
|
||||||
|
}
|
||||||
7
migrations/.eslintrc.js
Normal file
7
migrations/.eslintrc.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
root: false,
|
||||||
|
rules: {
|
||||||
|
'no-console': 0,
|
||||||
|
'no-use-before-define': ['error', { functions: false }]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user