UNPKG

1.16 kBJavaScriptView Raw
1/*
2
3gregjoeval ESLint config
4
5ESLint Rule Documentation: https://eslint.org/docs/rules/
6AirBnB Javascript Style Guide: https://github.com/airbnb/javascript
7Tool for comparing configs: https://sqren.github.io/eslint-compare/
8Typescript ESLint: https://github.com/typescript-eslint/typescript-eslint
9
10*/
11
12module.exports = {
13 "parser": "@typescript-eslint/parser",
14 // extended configs should be ordered by least to greatest importance
15 "extends": [
16 "plugin:import/typescript",
17 "plugin:@typescript-eslint/eslint-recommended",
18 "plugin:@typescript-eslint/recommended",
19 "plugin:@typescript-eslint/recommended-requiring-type-checking",
20 "@gjv/eslint-config"
21 ],
22 "rules": {
23 // Typescript Plugin (https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin)
24 "@typescript-eslint/explicit-function-return-type": "off",
25 "@typescript-eslint/no-explicit-any": "off",
26 "@typescript-eslint/interface-name-prefix": ["error", {
27 "prefixWithI": "always",
28 "allowUnderscorePrefix": false
29 }]
30 }
31};