Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 2 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# https://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.svg]
insert_final_newline = false
insert_final_newline = true
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

108 changes: 73 additions & 35 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,51 +1,89 @@
{
"extends": [
"eslint:recommended",
"standard",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
},
"overrides": [
{
"files": [
"**/*.md"
"files": ["**/*.{js,jsx}"],
"extends": ["airbnb", "prettier"],
"env": { "node": true }
},
{
"files": ["**/*.{ts,tsx}"],
"extends": [
"airbnb",
"prettier",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"markdown"
"plugins": ["@typescript-eslint"],
"env": { "browser": true, "node": true },
"parser": "@typescript-eslint/parser",
"settings": { "import/resolver": { "typescript": {} } },
"rules": {
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "warn",
"import/prefer-default-export": "off",
"import/extensions": "off"
}
},
{
"files": ["**/*.tsx"],
"extends": [
"airbnb/hooks",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended"
],
"processor": "markdown/markdown"
"plugins": ["@typescript-eslint", "react-hooks"],
"parserOptions": { "ecmaFeatures": { "jsx": true } },
"settings": { "react": { "version": "detect" } },
"rules": {
"react/no-unused-prop-types": "off",
"react/require-default-props": "off",
"react/jsx-filename-extension": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"consistent-return": "off",
"react/function-component-definition": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
]
}
},
{
"files": ["pages/**/*.{md,mdx}"],
"extends": ["plugin:mdx/recommended"],
"settings": { "mdx/code-blocks": false },
"rules": { "react/jsx-no-undef": "off" }
},
{
"files": [
"**/*.md/*.js"
"pages/about/*.{md,mdx}",
"pages/download/*.{md,mdx}",
"pages/get-involved/*.{md,mdx}",
"pages/homepage/*.{md,mdx}",
"pages/learn/*.m{md,mdx}"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"settings": { "mdx/code-blocks": true }
},
{
"files": ["pages/**/*.{md,mdx}/*.{js,jsx,cjs,mjs,ts,tsx}"],
"rules": {
"eqeqeq": "off",
"n/no-deprecated-api": "off",
"n/handle-callback-err": "off",
"no-const-assign": "off",
"camelcase": "off",
"@typescript-eslint/no-unused-vars": "off",
"consistent-return": "off",
"func-names": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"no-console": "off",
"no-empty": "off",
"no-restricted-globals": "off",
"no-restricted-syntax": "off",
"no-undef": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"node/handle-callback-err": "off",
"node/no-deprecated-api": "off",
"prefer-const": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "none"
}
],
"semi": ["error", "always"]
"prefer-promise-reject-errors": "off"
}
}
]
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Generated HTML and other static files
build/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claudio does not forget the .next (it is not a priority)

# Commonly ignored Node.js files
node_modules/
npm-debug.log
Expand All @@ -9,8 +7,3 @@ npm-debug.log
.DS_Store
.AppleDouble
.LSOverride

# Netlify
.netlify

.cache/
1 change: 0 additions & 1 deletion .mailmap

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid"
}
13 changes: 0 additions & 13 deletions .prettierrc.json

This file was deleted.

4 changes: 0 additions & 4 deletions .remarkignore

This file was deleted.

14 changes: 0 additions & 14 deletions .remarkrc

This file was deleted.

2 changes: 0 additions & 2 deletions .stylelintignore

This file was deleted.

18 changes: 10 additions & 8 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"extends": [
"stylelint-config-twbs-bootstrap"
],
"extends": ["stylelint-config-recommended-scss"],
"plugins": ["stylelint-order", "stylelint-selector-bem-pattern"],
"rules": {
"declaration-no-important": null,
"order/properties-order": null,
"selector-max-id": 1,
"selector-max-type": null,
"selector-no-qualifying-type": null
"order/properties-alphabetical-order": true,
"no-descending-specificity": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/at-import-partial-extension": "always",
"selector-pseudo-class-no-unknown": [
true,
{ "ignorePseudoClasses": ["global"] }
]
}
}
Loading