chore: add eslint and prettier

This commit is contained in:
simon 2020-02-16 19:14:54 +01:00
parent 837453fca2
commit 13f10bae59
4 changed files with 27 additions and 5 deletions

7
.eslintrc.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = {
root: true,
extends: ['@hokify/eslint-config'],
parserOptions: {
project: './tsconfig.eslint.json'
}
};

13
.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
node_modules/*
.DS_Store
# build files
dist
# certificates
ssl/*.pem
*.crt
*.key
# ts
tsconfig.tsbuildinfo

6
.prettierrc Normal file
View File

@ -0,0 +1,6 @@
{
"printWidth": 100,
"singleQuote": true,
"useTabs": true,
"endOfLine": "lf"
}

View File

@ -4,11 +4,7 @@ Basic RADIUS Server for node.js for Google LDAP Service and WPA2 Enteprise WLAN
## Known Issues / Disclaimer
This is a first implementation draft, which is currently NOT WORKING:
There is still one major issue left to get things going:
https://github.com/nodejs/node/issues/31802
that's why it's currently not possible to calculate MS-MPPE-Send-Key and MS-MPPE-Recv-Key.
This is a first implementation draft, which is currently only working with a nodejs fork (see https://github.com/nodejs/node/pull/31814).
* PAP / CHAP RFC not found to implement this correctly
* Project needs more structure and interfaces to extend it more easily in the future (make a full radius server out of it ;)?)