Implemented ESlint and passed down the rules
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
'use strict'
|
||||
const bookshelf = require('../database/bookshelf').bookshelf
|
||||
const bookshelf = require('../database/bookshelf').bookshelf;
|
||||
|
||||
require('./spell-model')
|
||||
require('./spell-model');
|
||||
|
||||
let Variable = bookshelf.Model.extend({
|
||||
tableName: 'variable',
|
||||
spells() {
|
||||
return this.belongsToMany('Spell', 'spell_variable')
|
||||
return this.belongsToMany('Spell', 'spell_variable');
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
module.exports = bookshelf.model('Variable', Variable)
|
||||
module.exports = bookshelf.model('Variable', Variable);
|
||||
Reference in New Issue
Block a user