refactor: 🔧 implement parser options
This commit is contained in:
parent
54a9ce699d
commit
d54c01ff0f
5
index.js
5
index.js
@ -1,6 +1,11 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['conventions', 'prettier'],
|
extends: ['conventions', 'prettier'],
|
||||||
plugins: ['prettier'],
|
plugins: ['prettier'],
|
||||||
|
parser: '@typescript-eslint/parser',
|
||||||
|
parserOptions: {
|
||||||
|
ecmaVersion: 'latest',
|
||||||
|
project: './tsconfig.json'
|
||||||
|
},
|
||||||
env: {
|
env: {
|
||||||
node: true,
|
node: true,
|
||||||
browser: true
|
browser: true
|
||||||
|
Loading…
Reference in New Issue
Block a user