misskey-tools/.eslintrc.js

38 lines
558 B
JavaScript
Raw Normal View History

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': {
'indent': [
'error',
2021-09-01 20:06:33 +09:00
'tab',
2020-08-04 12:13:41 +09:00
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
2021-01-06 23:51:10 +09:00
],
'@typescript-eslint/explicit-module-boundary-types': 'off'
2020-08-04 12:13:41 +09:00
}
};