simple-keyboard/.eslintrc.json

32 lines
907 B
JSON
Raw Normal View History

2020-02-06 12:41:59 +08:00
{
2021-03-07 15:52:17 +08:00
"parser": "@typescript-eslint/parser",
2020-02-06 12:41:59 +08:00
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
}
},
2021-03-07 15:52:17 +08:00
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
2020-02-06 12:41:59 +08:00
"rules": {
"comma-dangle": 0,
"no-unused-vars": "warn",
"no-unexpected-multiline": "warn",
2021-03-07 15:52:17 +08:00
"prefer-const": "warn",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off"
2020-02-06 12:41:59 +08:00
},
2021-03-07 15:52:17 +08:00
"settings": {},
2020-02-06 12:41:59 +08:00
"env": {
"browser": true,
"node": true,
"jasmine": true,
2020-09-03 11:46:29 +08:00
"jest": true,
"es6": true
2020-02-06 12:41:59 +08:00
}
2021-03-07 15:52:17 +08:00
}