Skip to content

Commit 8ac0d0e

Browse files
authored
Merge pull request #5 from cbschuld/slider_retool
Channel Slider bar: de-wonky
2 parents 051a99f + 2e94a01 commit 8ac0d0e

File tree

8 files changed

+1090
-840
lines changed

8 files changed

+1090
-840
lines changed

.eslintrc.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
},
6+
extends: [
7+
'plugin:@typescript-eslint/recommended',
8+
'plugin:react/recommended',
9+
'airbnb',
10+
'prettier',
11+
'prettier/react'
12+
],
13+
globals: {
14+
Atomics: 'readonly',
15+
SharedArrayBuffer: 'readonly',
16+
},
17+
parser: '@typescript-eslint/parser',
18+
parserOptions: {
19+
ecmaFeatures: {
20+
jsx: true,
21+
modules: true,
22+
},
23+
ecmaVersion: 2018,
24+
sourceType: 'module',
25+
},
26+
plugins: [
27+
'react',
28+
'prettier',
29+
'@typescript-eslint',
30+
],
31+
settings: {
32+
'import/parsers': {
33+
'@typescript-eslint/parser': ['.ts', '.tsx'],
34+
},
35+
'import/resolver': {
36+
typescript: {},
37+
},
38+
},
39+
rules: {
40+
'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }],
41+
'import/no-extraneous-dependencies': [2, { devDependencies: ['**/test.tsx', '**/test.ts'] }],
42+
'import/extensions': 'off',
43+
'import/prefer-default-export': 'off',
44+
'jsx-a11y/label-has-associated-control': [ 2, {
45+
'labelComponents': [],
46+
'labelAttributes': ['label'],
47+
'controlComponents': ['Input'],
48+
'depth': 3,
49+
}],
50+
},
51+
};

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 120,
3+
"tabWidth": 2,
4+
"singleQuote": true
5+
}

0 commit comments

Comments
 (0)