diff options
| author | Uri Shaked | 2019-12-07 22:18:00 +0200 |
|---|---|---|
| committer | Uri Shaked | 2019-12-07 22:18:00 +0200 |
| commit | 07ddaa7d22f31de5d5c3b9c6d4626c59cf25a244 (patch) | |
| tree | 12a64bfbc4ea18997923f14b44725cb0e118c949 /.eslintrc.json | |
| parent | feat: publish both CJS and ESM to npm (diff) | |
| download | avr8js-07ddaa7d22f31de5d5c3b9c6d4626c59cf25a244.tar.gz avr8js-07ddaa7d22f31de5d5c3b9c6d4626c59cf25a244.tar.bz2 avr8js-07ddaa7d22f31de5d5c3b9c6d4626c59cf25a244.zip | |
refactor: tslint → eslint
Diffstat (limited to '.eslintrc.json')
| -rw-r--r-- | .eslintrc.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..04b822e --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,25 @@ +{ + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 2018, + "sourceType": "module" + }, + "plugins": ["jest", "@typescript-eslint", "prettier", "json"], + "env": { + "browser": true, + "es6": true, + "node": true, + "jest/globals": true + }, + "extends": [ + "plugin:jest/recommended", + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "prettier/@typescript-eslint", + "plugin:prettier/recommended" + ], + "rules": { + "prettier/prettier": "error", + "@typescript-eslint/explicit-function-return-type": 0 + } +} |
