test(aio): enable linting of transforms/
and add rules for jasmine
This commit is contained in:

committed by
Pete Bacon Darwin

parent
a562c64ed6
commit
62f9738a9a
20
aio/transforms/.eslintrc.js
Normal file
20
aio/transforms/.eslintrc.js
Normal file
@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
'env': {
|
||||
'es6': true,
|
||||
'jasmine': true,
|
||||
'node': true
|
||||
},
|
||||
'extends': [
|
||||
'eslint:recommended',
|
||||
'plugin:jasmine/recommended'
|
||||
],
|
||||
'plugins': [
|
||||
'jasmine'
|
||||
],
|
||||
'rules': {
|
||||
'indent': ['error', 2],
|
||||
'linebreak-style': ['error', 'unix'],
|
||||
'quotes': ['error', 'single'],
|
||||
'semi': ['error', 'always']
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user