mirror of https://github.com/miraclx/freyr-js
50 lines
830 B
Plaintext
Executable File
50 lines
830 B
Plaintext
Executable File
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"globalThis": false
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": "latest",
|
|
"ecmaFeatures": {
|
|
"modules": true
|
|
},
|
|
"requireConfigFile": false
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"ignorePatterns": [
|
|
"**/*.json"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
1,
|
|
{
|
|
"trailingComma": "all",
|
|
"printWidth": 130,
|
|
"bracketSpacing": false,
|
|
"arrowParens": "avoid",
|
|
"singleQuote": true
|
|
}
|
|
],
|
|
"no-empty": 0,
|
|
"no-cond-assign": 0,
|
|
"no-sparse-arrays": 0,
|
|
"no-unused-vars": [
|
|
1,
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
}
|
|
}
|