2020-08-04 12:13:41 +09:00
|
|
|
module.exports = {
|
|
|
|
'env': {
|
|
|
|
'browser': true,
|
|
|
|
'es2020': true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended'
|
|
|
|
],
|
|
|
|
'parser': '@typescript-eslint/parser',
|
|
|
|
'parserOptions': {
|
|
|
|
'ecmaVersion': 11,
|
|
|
|
'sourceType': 'module'
|
|
|
|
},
|
|
|
|
'plugins': [
|
|
|
|
'@typescript-eslint'
|
|
|
|
],
|
|
|
|
'rules': {
|
2023-02-25 17:13:07 +09:00
|
|
|
'indent': ['error', 2, { 'SwitchCase': 1 } ],
|
2020-08-04 12:13:41 +09:00
|
|
|
'quotes': [
|
|
|
|
'error',
|
|
|
|
'single'
|
|
|
|
],
|
|
|
|
'semi': [
|
|
|
|
'error',
|
|
|
|
'always'
|
2021-01-06 23:51:10 +09:00
|
|
|
],
|
2023-02-25 17:13:07 +09:00
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
2020-08-04 12:13:41 +09:00
|
|
|
}
|
|
|
|
};
|