Skip to content

Commit

Permalink
remove functional/prefer-immutable-types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlevy0 committed Dec 6, 2023
1 parent 0552fd4 commit e46b764
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
'plugin:functional/stylistic',
'plugin:promise/recommended',
],
ignorePatterns: ['node_modules', 'dist', 'amplify'],
ignorePatterns: ['node_modules', 'dist' /* , 'amplify' */],
overrides: [
{
env: {
Expand Down Expand Up @@ -46,5 +46,6 @@ module.exports = {
'functional/no-expression-statements': 'off',
'functional/no-return-void': 'off',
'functional/immutable-data': ['error', { ignoreNonConstDeclarations: true }],
'functional/prefer-immutable-types': 'off',
},
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix:dry": "npx eslint --fix-dry-run . --ext .ts --ext .tsx",
"lint:all": "npx eslint --fix-dry-run . --ext .ts --ext .tsx",
"test": "jest",
"installAll": "npm i && cd amplify/backend/function/S3Triggera6bc74ca && npm i && cd -",
"i": "npm run installAll",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"exclude": [
"src/graphql",
"node_modules",
"amplify"
// "amplify"
]
}

0 comments on commit e46b764

Please sign in to comment.