uotp/.eslintrc.json
Corentin c20a6397fc Implement import function
* Add ESLint rules
* Change code style : using semi-columns
* Change error notification : using pre + wrap to be able to add
  newlines
* Bump version to 1.4.0
2024-03-04 14:09:26 +09:00

28 lines
566 B
JSON

{
"env": {
"webextensions": true,
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended"
],
"globals": {
"process": "readonly"
},
"ignorePatterns": ["node_modules"],
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": ["@stylistic/js"],
"rules": {
"no-console": ["error", {"allow": ["warn", "error"]}],
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"@stylistic/js/indent": ["error", "tab"],
"@stylistic/js/semi": ["error", "always"]
}
}