misskey-tools/.eslintrc.cjs
2023-02-25 17:13:07 +09:00

32 lines
563 B
JavaScript

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': {
'indent': ['error', 2, { 'SwitchCase': 1 } ],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
}
};