Skip to content

Commit f6e253e

Browse files
authored
Merge pull request #2 from oslabs-beta/staging
Staging
2 parents 367d6df + 3279e38 commit f6e253e

File tree

3 files changed

+6076
-4696
lines changed

3 files changed

+6076
-4696
lines changed

.eslintrc.js

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,92 @@
4343
// }]
4444
// }
4545
// };
46+
47+
module.exports = {
48+
env: {
49+
es6: true,
50+
jest: true,
51+
node: true,
52+
},
53+
extends: [
54+
"airbnb",
55+
"prettier",
56+
"prettier/@typescript-eslint",
57+
"prettier/react",
58+
// "plugin:@typescript-eslint/eslint-recommended",
59+
// "plugin:@typescript-eslint/recommended",
60+
],
61+
globals: {
62+
Atomics: "readonly",
63+
SharedArrayBuffer: "readonly",
64+
},
65+
parser: "babel-eslint",
66+
// parser: "@typescript-eslint/parser",
67+
parserOptions: {
68+
ecmaVersion: 2020,
69+
ecmaFeatures: {
70+
jsx: true,
71+
classes: true,
72+
},
73+
},
74+
plugins: [
75+
// "@typescript-eslint",
76+
"react",
77+
"jsx-a11y",
78+
"import",
79+
"jest",
80+
"react-hooks",
81+
],
82+
rules: {
83+
"arrow-body-style": 0,
84+
"react/jsx-filename-extension": 0,
85+
"comma-dangle": 0,
86+
"no-use-before-define": 0,
87+
"no-console": 0,
88+
"func-names": 0,
89+
"no-undef": 0,
90+
"no-unused-vars": 0,
91+
strict: 0,
92+
"dot-notation": 0,
93+
"import/extensions": 0,
94+
"import/no-extraneous-dependencies": 0,
95+
"max-len": 0,
96+
"no-useless-constructor": 0,
97+
"no-underscore-dangle": 0,
98+
quotes: 0,
99+
"react/prefer-stateless-function": 0,
100+
"react/prop-types": 0,
101+
"react/destructuring-assignment": 0,
102+
"react/no-array-index-key": 0,
103+
"react/no-did-update-set-state": 0,
104+
"no-restricted-syntax": 0,
105+
"react/forbid-prop-types": 0,
106+
"react/no-access-state-in-setstate": 0,
107+
"react/jsx-no-duplicate-props": 0,
108+
"no-plusplus": 0,
109+
"no-param-reassign": 0,
110+
"no-unused-expressions": 0,
111+
"import/no-unresolved": 0,
112+
"react/no-unused-state": 0,
113+
"no-shadow": 0,
114+
"no-return-assign": 0,
115+
"class-methods-use-this": 0,
116+
"brace-style": [2, "stroustrup"],
117+
"react/sort-comp": [
118+
2,
119+
{
120+
order: ["lifecycle", "everything-else", "rendering"],
121+
},
122+
],
123+
},
124+
// setting: {
125+
// "import/parsers": {
126+
// "@typescript-eslint/parser": [".ts", ".tsx"],
127+
// },
128+
// "import/resolver": {
129+
// typescript: {
130+
// alwaysTryTypes: true,
131+
// },
132+
// },
133+
// },
134+
};

0 commit comments

Comments
 (0)