2020-08-04 12:13:41 +09:00
|
|
|
module.exports = {
|
|
|
|
'env': {
|
|
|
|
'browser': true,
|
|
|
|
'es2020': true
|
|
|
|
},
|
|
|
|
'extends': [
|
2023-04-03 04:38:26 +09:00
|
|
|
'turbo',
|
2020-08-04 12:13:41 +09:00
|
|
|
'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-04-21 21:48:14 +09:00
|
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
|
|
'eol-last': ['error', 'always'],
|
2023-02-25 17:13:07 +09:00
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
2023-04-21 21:48:14 +09:00
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
2020-08-04 12:13:41 +09:00
|
|
|
}
|
|
|
|
};
|