mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 03:01:04 -05:00
Initial rough working draft of v3
This commit is contained in:
10
.eslintrc.js
10
.eslintrc.js
@@ -6,7 +6,6 @@ module.exports = {
|
||||
extends: [
|
||||
'airbnb-base',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'prettier/@typescript-eslint',
|
||||
'plugin:prettier/recommended',
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
@@ -15,6 +14,12 @@ module.exports = {
|
||||
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': {
|
||||
@@ -25,5 +30,6 @@ module.exports = {
|
||||
extensions: ['.js', '.ts',]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
ignorePatterns: ['dist/**', 'node_modules/**', '.eslintrc.js']
|
||||
}
|
||||
Reference in New Issue
Block a user