Name: felint-config
Owner: ??
Description: null
Created: 2016-05-13 10:42:12.0
Updated: 2018-04-20 01:58:12.0
Pushed: 2017-10-17 04:39:06.0
Homepage: null
Size: 30
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
felint-config
??????config.js
????Felint
??????
?????config.js
???:
le.exports = {
dependence: {
npm: {
"eslint": "3.19.0",
"babel-eslint": "7.2.1",
"eslint-config-airbnb": "14.1.0",
"stylelint": "7.10.1",
"stylelint-config-standard": "16.0.0"
}
},
plan: {
es6: ['.eslintrc_es6', '.stylelintrc'],
es5: ['.eslintrc_es5', '.stylelintrc'],
default: ['.eslintrc_es6', '.stylelintrc']
},
initHooks: 'update_git_hooks.sh'
??dependence
???felint
?????
plan
?????Felint
??????????
e.g.
es6: ['.eslintrc_es6.json', '.stylelintrc.json']
?????es6???
felint-config ? rules??
?? .eslintrc_es6.json ? .stylelintrc.json?????
initHooks
????????????????felint init???????
??rules
???????????????
?????.eslintrc_type.json
.stylelintrc_type.json
?
?/?/??hooks????shell???????update_git_hooks
???????????
??config.js????dependence.npm??
??config.js???plan???key????????????????eslintrc?stylelintrc????