File tree Expand file tree Collapse file tree 4 files changed +372
-556
lines changed Expand file tree Collapse file tree 4 files changed +372
-556
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ const { defineConfig} = require ( 'eslint/config' ) ;
2+
3+ module . exports = defineConfig ( [
4+ {
5+ languageOptions : {
6+ globals : {
7+ es6 : true ,
8+ node : true
9+ } ,
10+ parserOptions : {
11+ ecmaVersion : 2021 ,
12+ sourceType : 'module'
13+ }
14+ } ,
15+ rules : {
16+ 'array-bracket-spacing' : [
17+ 2 ,
18+ 'never'
19+ ] ,
20+ 'block-scoped-var' : 2 ,
21+ 'brace-style' : [
22+ 2 ,
23+ '1tbs'
24+ ] ,
25+ 'camelcase' : 1 ,
26+ 'computed-property-spacing' : [
27+ 2 ,
28+ 'never'
29+ ] ,
30+ 'curly' : 2 ,
31+ 'eol-last' : 2 ,
32+ 'eqeqeq' : [
33+ 2 ,
34+ 'smart'
35+ ] ,
36+ 'max-depth' : [
37+ 1 ,
38+ 3
39+ ] ,
40+ 'new-cap' : 0 ,
41+ 'no-extend-native' : 2 ,
42+ 'no-mixed-spaces-and-tabs' : 2 ,
43+ 'no-trailing-spaces' : 2 ,
44+ 'no-unused-vars' : 0 ,
45+ 'no-use-before-define' : [
46+ 2 ,
47+ 'nofunc'
48+ ] ,
49+ 'object-curly-spacing' : [
50+ 2 ,
51+ 'never'
52+ ] ,
53+ 'quotes' : [
54+ 2 ,
55+ 'single' ,
56+ 'avoid-escape'
57+ ] ,
58+ 'semi' : [
59+ 2 ,
60+ 'always'
61+ ] ,
62+ 'keyword-spacing' : [
63+ 2 ,
64+ {
65+ 'before' : true ,
66+ 'after' : true
67+ }
68+ ] ,
69+ 'space-unary-ops' : 2
70+ }
71+ }
72+ ] ) ;
You can’t perform that action at this time.
0 commit comments