-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use ES private properties instead of Symbols and defineProperty…
…() for privacy (#84) BREAKING CHANGE: Due to dropping node 10.x support we use ES private properties instead of Symbols and `.defineProperty()`. Co-authored-by: Trygve Lie <trygve.lie@finn.no>
- Loading branch information
1 parent
34fd3bf
commit 37fd140
Showing
3 changed files
with
75 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"jest": true | ||
}, | ||
"extends": ["airbnb-base", "prettier"], | ||
"plugins": ["prettier"], | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 2018 | ||
"ecmaVersion": 11, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["prettier"], | ||
"root": true, | ||
"rules": { | ||
"lines-between-class-members": [0], | ||
"class-methods-use-this": [0], | ||
"indent": [1, 4], | ||
"prettier/prettier": ["error"], | ||
"strict": [0, "global"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters