From 13f10bae59d1a4559828eb3b5e97f0f479d6a218 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 16 Feb 2020 19:14:54 +0100 Subject: [PATCH] chore: add eslint and prettier --- .eslintrc.js | 7 +++++++ .gitignore | 13 +++++++++++++ .prettierrc | 6 ++++++ README.md | 6 +----- 4 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 .eslintrc.js create mode 100644 .gitignore create mode 100644 .prettierrc diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..a87852e --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,7 @@ +module.exports = { + root: true, + extends: ['@hokify/eslint-config'], + parserOptions: { + project: './tsconfig.eslint.json' + } +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6826c54 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +node_modules/* +.DS_Store + +# build files +dist + +# certificates +ssl/*.pem +*.crt +*.key + +# ts +tsconfig.tsbuildinfo diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..880b8e3 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "singleQuote": true, + "useTabs": true, + "endOfLine": "lf" +} diff --git a/README.md b/README.md index 759e0f4..f207b70 100644 --- a/README.md +++ b/README.md @@ -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 ;)?)