Skip to content

Commit

Permalink
Merge pull request #1 from lindapaiste/minimal-version
Browse files Browse the repository at this point in the history
Minimal version
  • Loading branch information
lindapaiste authored May 18, 2021
2 parents 3b4c27f + a366797 commit e292ffd
Show file tree
Hide file tree
Showing 365 changed files with 11,129 additions and 16,061 deletions.
39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json",
"./demo/tsconfig.json"
]
},
"plugins": [
"react",
"import",
"@typescript-eslint"
],
"extends": [
"airbnb-typescript-prettier",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
],
"rules": {
// "import/no-unused-modules": [1, {"unusedExports": true}],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js", "src/setupTests.ts"]}],
// don't need this because typescript takes care of it
"import/no-unresolved": "off",
// warn instead of error
"prettier/prettier": "warn",
// rules that I don't like
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"no-plusplus": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/.env_sar
/src/services/mongo/
185 changes: 0 additions & 185 deletions __tests__/ex-wp-media.json

This file was deleted.

65 changes: 0 additions & 65 deletions __tests__/titles.test.ts

This file was deleted.

Loading

0 comments on commit e292ffd

Please sign in to comment.