Skip to content

Commit

Permalink
Merge pull request #5 from cbschuld/slider_retool
Browse files Browse the repository at this point in the history
Channel Slider bar: de-wonky
  • Loading branch information
cbschuld authored May 19, 2020
2 parents 051a99f + 2e94a01 commit 8ac0d0e
Show file tree
Hide file tree
Showing 8 changed files with 1,090 additions and 840 deletions.
51 changes: 51 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'airbnb',
'prettier',
'prettier/react'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
modules: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
'prettier',
'@typescript-eslint',
],
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {},
},
},
rules: {
'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }],
'import/no-extraneous-dependencies': [2, { devDependencies: ['**/test.tsx', '**/test.ts'] }],
'import/extensions': 'off',
'import/prefer-default-export': 'off',
'jsx-a11y/label-has-associated-control': [ 2, {
'labelComponents': [],
'labelAttributes': ['label'],
'controlComponents': ['Input'],
'depth': 3,
}],
},
};
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true
}
Loading

0 comments on commit 8ac0d0e

Please sign in to comment.