addons-linter/.eslintrc

24 строки
489 B
Plaintext
Исходник Обычный вид История

{
2021-11-03 15:22:06 +03:00
"rules": {
// This project uses `console.log()`.
2023-04-27 17:20:01 +03:00
"no-console": "off",
"amo/i18n-no-tagged-templates": "error",
},
2015-09-16 18:40:23 +03:00
"env": {
"node": true,
"browser": true,
"es6": true,
},
2023-04-27 17:20:01 +03:00
"plugins": ["amo"],
2021-11-03 15:22:06 +03:00
"extends": ["amo/base"],
"parser": "@babel/eslint-parser",
"settings": {
"import/resolver": {
"node": {
// This adds ./src and ./vendor for relative imports.
"moduleDirectory": ["node_modules", "src", "vendor"]
}
}
2015-09-16 18:40:23 +03:00
}
}