mirror of https://github.com/aruppi/aruppi-api.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
635 B
JavaScript
33 lines
635 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
commonjs: true,
|
|
node: true,
|
|
},
|
|
extends: ['prettier', 'eslint:recommended'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
jsx: false,
|
|
},
|
|
},
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
rules: {
|
|
'no-underscore-dangle': 'off',
|
|
'class-methods-use-this': 'off',
|
|
camelcase: 'off',
|
|
'no-unused-vars': 'warn',
|
|
'no-undef': 'warn',
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
node: {
|
|
extensions: ['.ts'],
|
|
typescript: {},
|
|
},
|
|
},
|
|
},
|
|
};
|