mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
42 lines
682 B
JavaScript
42 lines
682 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: false,
|
|
es6: true,
|
|
node: true,
|
|
mocha: true,
|
|
},
|
|
extends: [
|
|
'airbnb-base',
|
|
],
|
|
plugins: [
|
|
'import',
|
|
],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
},
|
|
rules: {
|
|
"no-unused-vars": [
|
|
"error",
|
|
{
|
|
"varsIgnorePattern": "describe|afterEach|beforeEach"
|
|
}
|
|
],
|
|
"import/no-extraneous-dependencies": [
|
|
"error", {"devDependencies": true}
|
|
],
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
node: {},
|
|
webpack: {
|
|
config: 'webpack.config.js'
|
|
}
|
|
},
|
|
},
|
|
};
|