home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
18
home/ags/node_modules/eslint-plugin-import/config/react.js
generated
vendored
Normal file
18
home/ags/node_modules/eslint-plugin-import/config/react.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Adds `.jsx` as an extension, and enables JSX parsing.
|
||||
*
|
||||
* Even if _you_ aren't using JSX (or .jsx) directly, if your dependencies
|
||||
* define jsnext:main and have JSX internally, you may run into problems
|
||||
* if you don't enable these settings at the top level.
|
||||
*/
|
||||
module.exports = {
|
||||
|
||||
settings: {
|
||||
'import/extensions': ['.js', '.jsx'],
|
||||
},
|
||||
|
||||
parserOptions: {
|
||||
ecmaFeatures: { jsx: true },
|
||||
},
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue