-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.mjs
41 lines (34 loc) · 1.32 KB
/
eslint.config.mjs
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
/*-------------------------------------------------------------------
⚡ Storm Software - Stryke
This code was released as part of the Stryke project. Stryke
is maintained by Storm Software under the Apache-2.0 License, and is
free for commercial and private use. For more information, please visit
our licensing page.
Website: https://stormsoftware.com
Repository: https://github.com/storm-software/stryke
Documentation: https://stormsoftware.com/projects/stryke/docs
Contact: https://stormsoftware.com/contact
License: https://stormsoftware.com/projects/stryke/license
-------------------------------------------------------------------*/
import { getStormConfig } from "@storm-software/eslint";
Error.stackTraceLimit = Number.POSITIVE_INFINITY;
/** @type {import('eslint').Linter.Config[]} */
export default getStormConfig({
name: "stryke",
rules: {
"unicorn/no-null": 0,
"unicorn/no-useless-switch-case": 0,
"react/require-default-props": 0,
"react/jsx-closing-bracket-location": 0,
"indent": 0,
"no-redeclare": 0,
"class-methods-use-this": 0,
"operator-linebreak": 0,
"function-paren-newline": 0,
"space-before-function-paren": 0
},
markdown: true,
react: true,
useUnicorn: true,
typescriptEslintConfigType: "base"
});