File tree 5 files changed +1760
-2512
lines changed
5 files changed +1760
-2512
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,20 @@ module.exports = {
9
9
'./rules/es6'
10
10
] . map ( require . resolve ) ,
11
11
parserOptions : {
12
- ecmaVersion : 8 ,
12
+ ecmaVersion : 2019 ,
13
13
sourceType : 'module' ,
14
14
ecmaFeatures : {
15
- experimentalObjectRestSpread : true ,
16
- }
15
+ globalReturn : false ,
16
+ impliedStrict : true ,
17
+ jsx : true ,
18
+ } ,
19
+ requireConfigFile : false ,
17
20
} ,
18
21
env : {
19
22
browser : true ,
20
23
node : true ,
21
24
es6 : true ,
25
+ commonjs : true ,
22
26
amd : false ,
23
27
mocha : false ,
24
28
jasmine : false
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-config-o2team" ,
3
- "version" : " 0.1.6 " ,
3
+ "version" : " 0.1.7 " ,
4
4
"description" : " ESLint Shareable Config for the O2Team Javascript Style Guide" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
19
19
},
20
20
"homepage" : " https://github.com/o2team/eslint-config-o2team" ,
21
21
"devDependencies" : {
22
- "ava" : " ^0.18 .2" ,
23
- "eslint" : " ^3.18 .0"
22
+ "ava" : " ^3.5 .2" ,
23
+ "eslint" : " ^6.8 .0"
24
24
},
25
25
"peerDependencies" : {
26
26
"eslint" : " >=3.18.0"
Original file line number Diff line number Diff line change 1
- import index from '../'
2
- import legacy from '../legacy'
3
- import test from 'ava'
1
+ const test = require ( 'ava' )
2
+ const index = require ( '../' )
3
+ const legacy = require ( '../legacy' )
4
4
5
5
test ( 'test basic properties of eslint config - index.js' , t => {
6
6
t . truthy ( isArray ( index . extends ) )
Original file line number Diff line number Diff line change 1
- import fs from 'fs'
2
- import path from 'path'
3
- import test from 'ava'
4
- import eslint from 'eslint'
1
+ const test = require ( 'ava' )
2
+ const fs = require ( 'fs' )
3
+ const path = require ( 'path' )
4
+ const eslint = require ( 'eslint' )
5
5
6
6
const CLIEngine = eslint . CLIEngine
7
7
const files = { }
You can’t perform that action at this time.
0 commit comments