generated from Trent-Computer-Science-Club-Association/NextJS-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
43 lines (43 loc) · 941 Bytes
/
.eslintrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
env:
browser: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:@next/next/recommended'
- 'prettier'
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
sourceType: script
plugins:
- '@typescript-eslint'
- 'prettier'
rules:
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/explicit-module-boundary-types': 0
'@typescript-eslint/ban-ts-comment': 0
'@typescript-eslint/ban-types': 0
'@next/next/no-img-element': 0
'@next/next/no-html-link-for-pages': 0
no-invalid-regexp: warn
no-unreachable: warn
no-eval: warn
vars-on-top: warn
'@typescript-eslint/no-unused-vars':
- warn
- args: none
indent:
- warn
- 2
- SwitchCase: 1
quotes:
- warn
- single
semi:
- warn
- always
- omitLastInOneLineBlock: true
no-var: error
prefer-const: warn
prefer-template: error
no-prototype-builtins: 0