mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
4c34cf1d5d
* chore: disable `no-bitwise` in eslint * feat: replace h with createVNode for PatchFlags * fix: vModel modifiers shift * chore: rename v-_model to _model in sugar-v-model * fix: hasRef will not always be false * feat: Check if an attribute value is constant * chore: pass null when children is empty * chore: describe Transform JSX in test * chore: add describe Patch Flags * perf: import compatibleProps when opts.compatibleProps is true * test: add coverage report (#7) * refactor: cjs to esModule Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
26 lines
478 B
JavaScript
26 lines
478 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
},
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
jest: true,
|
|
es6: true,
|
|
},
|
|
extends: 'eslint-config-airbnb-base',
|
|
rules: {
|
|
'no-nested-ternary': [0],
|
|
'no-param-reassign': [0],
|
|
'no-use-before-define': [0],
|
|
'no-plusplus': [0],
|
|
'import/no-extraneous-dependencies': [0],
|
|
'consistent-return': [0],
|
|
'no-bitwise': [0]
|
|
},
|
|
};
|