Jeremy D commited on 2021-07-29 10:49:14
Showing 1 changed files, with 34 additions and 0 deletions.
* Ensure Build Tools are updated Signed-off-by: jdarwood007 <unmonitored+github@sleepycode.com> * Move to only supporting SMF 2.1 RC4 or later. * eslint files
... | ... |
@@ -0,0 +1,34 @@ |
1 |
+module.exports = { |
|
2 |
+ 'env': { |
|
3 |
+ 'browser': true, |
|
4 |
+ 'es2021': true, |
|
5 |
+ 'jquery': true |
|
6 |
+ }, |
|
7 |
+ 'extends': 'eslint:recommended', |
|
8 |
+ 'parserOptions': { |
|
9 |
+ 'ecmaVersion': 12, |
|
10 |
+ 'sourceType': 'module' |
|
11 |
+ }, |
|
12 |
+ 'rules': { |
|
13 |
+ 'indent': [ |
|
14 |
+ 'error', |
|
15 |
+ 'tab', |
|
16 |
+ {"SwitchCase": 1} |
|
17 |
+ ], |
|
18 |
+ 'linebreak-style': [ |
|
19 |
+ 'error', |
|
20 |
+ 'unix' |
|
21 |
+ ], |
|
22 |
+ 'quotes': [ |
|
23 |
+ 'error', |
|
24 |
+ 'single' |
|
25 |
+ ], |
|
26 |
+ 'no-unused-vars': [ |
|
27 |
+ 'error', |
|
28 |
+ { |
|
29 |
+ 'vars': 'local', |
|
30 |
+ 'args' : 'none' |
|
31 |
+ } |
|
32 |
+ ] |
|
33 |
+ } |
|
34 |
+}; |
|
0 | 35 |