react-native/.eslintignore

11 lines
175 B
Plaintext
Raw Normal View History

# node_modules ignored by default
2015-01-30 01:10:49 +00:00
**/staticBundle.js
**/main.js
Libraries/vendor/**/*
Libraries/Renderer/*
pr-inactivity-bookmarklet.js
question-bookmarklet.js
flow/
Exclude the dangerfile from eslint. Summary: Before: ``` $ npm run lint > react-native@1000.0.0 lint /Users/hramos/git/react-native > eslint . Cannot find module 'ljharb/eslint-config' Referenced from: /Users/hramos/git/react-native/danger/node_modules/extend/.eslintrc Error: Cannot find module 'ljharb/eslint-config' Referenced from: /Users/hramos/git/react-native/danger/node_modules/extend/.eslintrc at ModuleResolver.resolve (/Users/hramos/git/react-native/node_modules/eslint/lib/util/module-resolver.js:74:19) at resolve (/Users/hramos/git/react-native/node_modules/eslint/lib/config/config-file.js:515:25) at load (/Users/hramos/git/react-native/node_modules/eslint/lib/config/config-file.js:532:26) at configExtends.reduceRight (/Users/hramos/git/react-native/node_modules/eslint/lib/config/config-file.js:424:36) at Array.reduceRight (native) at applyExtends (/Users/hramos/git/react-native/node_modules/eslint/lib/config/config-file.js:408:28) at Object.load (/Users/hramos/git/react-native/node_modules/eslint/lib/config/config-file.js:566:22) at loadConfig (/Users/hramos/git/react-native/node_modules/eslint/lib/config.js:63:33) at getLocalConfig (/Users/hramos/git/react-native/node_modules/eslint/lib/config.js:130:29) at Config.getConfig (/Users/hramos/git/react-native/node_modules/eslint/lib/config.js:260:26) ``` After: ``` $ npm run lint > react-native@1000.0.0 lint /Users/hramos/git/react-native > eslint . /Users/hramos/git/react-native/babel-preset/configs/internal.js 11:5 warning 'resolvePlugins' is assigned a value but never used no-unused-vars 16:2 warning Missing semicolon ... ✖ 5047 problems (1001 errors, 4046 warnings) ``` Closes https://github.com/facebook/react-native/pull/15109 Differential Revision: D5455350 Pulled By: hramos fbshipit-source-id: e76dae2804018ccb3da526f14cc0df2424e0d6b4
2017-07-19 20:32:00 +00:00
danger/