Skip to content
Draft
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
module.exports = {
extends: ['@dcl/eslint-config-dapps'],
parserOptions: {
project: ['tsconfig.json']
},
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/no-unsafe-assignment': 'off', // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-unsafe-assignment/
'@typescript-eslint/no-unsafe-call': 'off', // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-unsafe-call/
'@typescript-eslint/no-unsafe-member-access': 'off', // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-unsafe-member-access/
'@typescript-eslint/no-unsafe-argument': 'off', // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-unsafe-argument/
'@typescript-eslint/no-explicit-any': 'off', // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-explicit-any
'@typescript-eslint/no-non-null-assertion': 'off' // TODO: migrate code progressively to remove this line. https://typescript-eslint.io/rules/no-non-null-assertion
}
},
{
files: ['*.spec.ts'],
rules: {
'@typescript-eslint/unbound-method': 'off'
}
},
{
files: ['*.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off'
}
}
],
ignorePatterns: [
'.eslintrc.js',
'prettier.config.js',
'src/contracts/*',
'src/ecsScene/*',
'scripts/*.js',
'src/modules/project/export.ts',
'src/modules/analytics/rollbar.ts',
'src/modules/editor/base64.ts',
'src/themes/index.ts'
]
}
58 changes: 0 additions & 58 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@dcl/eslint-config-dapps/prettier.config"
8 changes: 0 additions & 8 deletions .prettierrc.json

This file was deleted.

Loading