mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 11:01:04 -05:00
35 lines
798 B
JavaScript
35 lines
798 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true
|
|
},
|
|
extends: [
|
|
'airbnb-base',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
sourceType: 'module'
|
|
},
|
|
plugins: ['@typescript-eslint'],
|
|
rules: {
|
|
'import/extensions': 0,
|
|
'import/prefer-default-export': 0,
|
|
'no-shadow': 'off',
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
},
|
|
settings: {
|
|
'import/extensions': ['.js', '.ts',],
|
|
'import/parsers': {
|
|
'@typescript-eslint/parser': ['.ts']
|
|
},
|
|
'import/resolver': {
|
|
node: {
|
|
extensions: ['.js', '.ts',]
|
|
}
|
|
}
|
|
},
|
|
ignorePatterns: ['dist/**', 'node_modules/**', '.eslintrc.js', 'src/migration/**']
|
|
} |