@brown-ds/distribution 0.0.27 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.eslintrc +0 -48
package/package.json
CHANGED
package/.eslintrc
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "google",
|
|
3
|
-
"env": {
|
|
4
|
-
"es6": true, // Enable ES6 syntax including new ES6 globals
|
|
5
|
-
"node": true // Adjust based on your environment
|
|
6
|
-
},
|
|
7
|
-
"parserOptions": {
|
|
8
|
-
"ecmaVersion": 2018, // Update ECMAScript version to at least 6 or later for arrow functions
|
|
9
|
-
"sourceType": "script" // Set to "module" if you are using ES6 modules
|
|
10
|
-
},
|
|
11
|
-
"rules": {
|
|
12
|
-
"max-len": "off",
|
|
13
|
-
"prefer-const": "off", // Do not enforce const over let
|
|
14
|
-
"prefer-spread": "off", // Do not enforce spread operator
|
|
15
|
-
"prefer-rest-params": "off", // Do not enforce rest parameters
|
|
16
|
-
"prefer-template": "off", // Do not enforce template literals
|
|
17
|
-
"object-shorthand": "off", // Do not enforce object method shorthand
|
|
18
|
-
"require-jsdoc": "off", // Do not require JSDoc
|
|
19
|
-
"guard-for-in": "off", // Do not require guard clauses in for...in loops
|
|
20
|
-
"no-restricted-syntax": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
"selector": "ClassDeclaration",
|
|
24
|
-
"message": "Class declarations are not allowed."
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"selector": "ClassExpression",
|
|
28
|
-
"message": "Class expressions are not allowed."
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"selector": "AwaitExpression",
|
|
32
|
-
"message": "Using 'await' is not allowed."
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"selector": "FunctionDeclaration[async=true]",
|
|
36
|
-
"message": "Async functions are not allowed."
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"selector": "FunctionExpression[async=true]",
|
|
40
|
-
"message": "Async functions are not allowed."
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"selector": "ArrowFunctionExpression[async=true]",
|
|
44
|
-
"message": "Async functions are not allowed."
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|