mirror of
https://github.com/luxexchange/eslint-config.git
synced 2026-10-30 18:13:47 +00:00
14 lines
349 B
JavaScript
14 lines
349 B
JavaScript
const { webPlatform: restrictedImports } = require('@luxfi/eslint-config/restrictedImports')
|
|
|
|
module.exports = {
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
excludedFiles: ['*.native.*', '*.ios.*', '*.android.*'],
|
|
rules: {
|
|
'@typescript-eslint/no-restricted-imports': ['error', restrictedImports],
|
|
},
|
|
},
|
|
],
|
|
}
|