This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-11-24 14:43:08 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
c7c13a394a
Ghost
/
ghost
/
mw-session-from-token
/
index.js
2 lines
54 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Added eslint rule for file naming convention As discussed with the product team we want to enforce kebab-case file names for all files, with the exception of files which export a single class, in which case they should be PascalCase and reflect the class which they export. This will help find classes faster, and should push better naming for them too. Some files and packages have been excluded from this linting, specifically when a library or framework depends on the naming of a file for the functionality e.g. Ember, knex-migrator, adapter-manager
2023-05-02 23:43:47 +03:00
module
.
exports
=
require
(
'./lib/session-from-token'
)
;
Reference in New Issue
Copy Permalink