2017-10-09 10:50:46 +03:00
|
|
|
{
|
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",
|
2017-09-13 08:33:10 +03:00
|
|
|
},
|
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",
|
2017-08-11 17:49:06 +03:00
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"node": {
|
2023-01-19 18:14:15 +03:00
|
|
|
// This adds ./src and ./vendor for relative imports.
|
|
|
|
"moduleDirectory": ["node_modules", "src", "vendor"]
|
2017-08-11 17:49:06 +03:00
|
|
|
}
|
|
|
|
}
|
2015-09-16 18:40:23 +03:00
|
|
|
}
|
|
|
|
}
|