-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
27 lines (24 loc) · 927 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
'use strict'
// Put this file to the directory where your node.js code is located. This could be the root
// directory, or a subdirectory if your project consists of both node.js and browser code.
module.exports = {
extends: [
'@strv/javascript/environments/nodejs/v10',
'@strv/javascript/environments/nodejs/optional',
'@strv/javascript/environments/mocha/recommended',
'@strv/javascript/coding-styles/recommended',
],
// As of ESLint 4.1, you no longer need to use separate, per-directory .eslintrc.js files and
// instead control per-folder overrides from your central .eslintrc.js file using the overrides
// array.
// See the original blog post on the feature:
// https://eslint.org/blog/2017/06/eslint-v4.1.0-released
overrides: [{
files: [
'test/**',
],
rules: {
'func-names': 'off',
},
}],
}