diff options
| author | Marin Ivanov <[email protected]> | 2026-01-19 02:41:01 +0200 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2026-01-19 02:41:01 +0200 |
| commit | a6bdee992a0e8850b922944a943cdbd907db5e66 (patch) | |
| tree | dd114f4e6f3fa7b21bf11541e128feef893743a5 /.eslintrc | |
| parent | 1fc5ce993a1769a3d0dd5fe2fdb51726f06f804c (diff) | |
| parent | b240473b5707857ba2c6a8e6d707c28d1e39da49 (diff) | |
Diffstat (limited to '.eslintrc')
| -rw-r--r-- | .eslintrc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..429b835 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,52 @@ +{ + "ignorePatterns": [ + "node_modules", + "dist", + "index.d.ts" + ], + "extends": [ + "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended", + "developit" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "sourceType": "module" + }, + "env": { + "browser": true, + "mocha": true, + "jest": false, + "es6": true + }, + "globals": { + "expect": true + }, + "rules": { + "semi": [ + 2, + "always" + ], + "brace-style": [ + 2, + "1tbs" + ], + "quotes": [ + 2, + "single" + ], + "lines-around-comment": [ + 2, + { + "allowBlockStart": true, + "allowObjectStart": true + } + ], + "jest/valid-expect": 0, + "@typescript-eslint/no-explicit-any": 0, + "@typescript-eslint/explicit-function-return-type": 0, + "@typescript-eslint/explicit-module-boundary-types": 0, + "@typescript-eslint/no-empty-function": 0, + "@typescript-eslint/no-non-null-assertion": 0 + } +} |
