mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Update linters
This commit is contained in:
parent
cb73eb430d
commit
1e1614706a
3 changed files with 5108 additions and 6495 deletions
13
.eslintrc.js
13
.eslintrc.js
|
|
@ -1,22 +1,15 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true
|
||||
},
|
||||
extends: [
|
||||
'standard',
|
||||
'standard-preact'
|
||||
'preact',
|
||||
'standard'
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.jsx', '*.js']
|
||||
}
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 12,
|
||||
sourceType: 'module'
|
||||
},
|
||||
rules: {
|
||||
'react/display-name': 'off'
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
|
|
|
|||
2372
package-lock.json
generated
2372
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,9 +11,9 @@
|
|||
"author": "He4eT",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"eslint": "^7.20.0",
|
||||
"eslint": "^7.31.0",
|
||||
"eslint-config-preact": "^1.1.4",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-config-standard-preact": "^1.1.6",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^4.3.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue