Skip to content

Commit

Permalink
Use tabs for better a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
mefechoel committed Oct 22, 2020
1 parent 2d3e081 commit d6705fa
Show file tree
Hide file tree
Showing 110 changed files with 4,529 additions and 4,522 deletions.
10 changes: 5 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"env": {
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
}
"env": {
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
}
}
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
/**/.vscode
/**/node_modules/
/**/tmp/
/**/package.json
/**/package-lock.json
160 changes: 81 additions & 79 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,81 +1,83 @@
{
"plugins": ["svelte3", "react"],
"extends": ["airbnb"],
"rules": {
"quotes": "off",
"indent": "off",
"no-underscore-dangle": "off",
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"object-curly-newline": "off",
"function-paren-newline": "off",
"no-confusing-arrow": "off",
"no-continue": "off",
"no-plusplus": "off",
"linebreak-style": "off"
},
"env": {
"es6": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"overrides": [
{
"files": ["example/**/*"],
"rules": {
"import/no-unresolved": "off"
}
},
{
"files": ["**/*.svelte"],
"processor": "svelte3/svelte3",
"rules": {
"import/first": "off",
"import/no-duplicates": "off",
"import/no-mutable-exports": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"no-multiple-empty-lines": "off",
"no-undef": "off",
"prefer-const": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["cypress/**/*"],
"plugins": ["cypress"],
"extends": ["plugin:cypress/recommended"],
"env": {
"cypress/globals": true
},
"rules": {
"spaced-comment": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["**/*.ts"],
"plugins": ["@typescript-eslint/eslint-plugin"],
"extends": ["plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"import/extensions": "off",
"import/no-unresolved": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off"
}
}
],
"settings": {
"react": {
"version": "16.13"
}
}
"plugins": ["svelte3", "react"],
"extends": ["airbnb"],
"rules": {
"quotes": "off",
"indent": "off",
"no-underscore-dangle": "off",
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"object-curly-newline": "off",
"function-paren-newline": "off",
"no-confusing-arrow": "off",
"no-continue": "off",
"no-plusplus": "off",
"no-tabs": "off",
"no-mixed-spaces-and-tabs": "off",
"linebreak-style": "off"
},
"env": {
"es6": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"overrides": [
{
"files": ["example/**/*"],
"rules": {
"import/no-unresolved": "off"
}
},
{
"files": ["**/*.svelte"],
"processor": "svelte3/svelte3",
"rules": {
"import/first": "off",
"import/no-duplicates": "off",
"import/no-mutable-exports": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"no-multiple-empty-lines": "off",
"no-undef": "off",
"prefer-const": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["cypress/**/*"],
"plugins": ["cypress"],
"extends": ["plugin:cypress/recommended"],
"env": {
"cypress/globals": true
},
"rules": {
"spaced-comment": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["**/*.ts"],
"plugins": ["@typescript-eslint/eslint-plugin"],
"extends": ["plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"import/extensions": "off",
"import/no-unresolved": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off"
}
}
],
"settings": {
"react": {
"version": "16.13"
}
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
**/.vscode
**/node_modules/
**/tmp
**/package.json
**/package-lock.json
9 changes: 5 additions & 4 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
trailingComma: "all",
svelteBracketNewLine: true,
proseWrap: "always",
arrowParens: "avoid",
trailingComma: "all",
svelteBracketNewLine: true,
proseWrap: "always",
arrowParens: "avoid",
useTabs: true,
};
Loading

0 comments on commit d6705fa

Please # to comment.